Merge pull request #3399 from owncloud/fix_js_for_ie
cleanup after people who don't test in ie
This commit is contained in:
commit
71668cf08a
|
@ -26,8 +26,8 @@ $array = array(
|
||||||
"oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false',
|
"oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false',
|
||||||
"oc_webroot" => "\"".OC::$WEBROOT."\"",
|
"oc_webroot" => "\"".OC::$WEBROOT."\"",
|
||||||
"oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
|
"oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
|
||||||
"oc_current_user" => "document.head.getAttribute('data-user')",
|
"oc_current_user" => "document.getElementsByTagName('head')[0].getAttribute('data-user')",
|
||||||
"oc_requesttoken" => "document.head.getAttribute('data-requesttoken')",
|
"oc_requesttoken" => "document.getElementsByTagName('head')[0].getAttribute('data-requesttoken')",
|
||||||
"datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')),
|
"datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')),
|
||||||
"dayNames" => json_encode(
|
"dayNames" => json_encode(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue