Commit d6eca3b5 authored by Tim Steiner's avatar Tim Steiner
Browse files

Change javascript baseUrl storage from WDN.jQuery('body').data('baseUrl') to...

Change javascript baseUrl storage from WDN.jQuery('body').data('baseUrl') to WDN.jQuery('html').data('baseUrl')
parent 8f8e8ff7
......@@ -86,6 +86,7 @@ class Unl_View_Helper_WdnTemplate extends Zend_View_Helper_Abstract
. "\n" . $this->view->headScript()->__toString()
. "\n" . $this->view->headStyle()->__toString()
. '<script type="text/javascript">'
. "WDN.jQuery('html').data('baseUrl', '" . $this->view->baseUrl() . "');"
. "WDN.jQuery(function() {WDN.jQuery('body').data('baseUrl', '" . $this->view->baseUrl() . "');});"
. '</script>';
$template->loadSharedCodeFiles();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment