diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-14 18:06:28 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-14 18:13:01 +0200 |
commit | f0b87bc4218b16bf5122332108666ce833a844ce (patch) | |
tree | fd8df04c7393af05fc3736c6b832bf1bedcad026 /core | |
parent | 6468e0a1d5f542bccc3c146b56118cb5d1853fc7 (diff) | |
download | nextcloud-server-f0b87bc4218b16bf5122332108666ce833a844ce.tar.gz nextcloud-server-f0b87bc4218b16bf5122332108666ce833a844ce.zip |
Make requesttoken global.
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 6f9b02237c9..e271acf10ee 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -32,7 +32,7 @@ <?php endforeach; ?> <script type="text/javascript"> $(function() { - var requesttoken = '<?php echo $_['requesttoken']; ?>'; + requesttoken = '<?php echo $_['requesttoken']; ?>'; $(document).bind('ajaxSend', function(elm, xhr, s){ if(requesttoken) { xhr.setRequestHeader('requesttoken', requesttoken); |