Fixed #12007: Hardcoded js in cart view.

This commit is contained in:
Martin Kamerbeek 2010-12-23 16:45:15 +00:00
parent 90e3cd6b6f
commit b22ed80dc7
3 changed files with 1 additions and 8 deletions

View file

@ -9,6 +9,7 @@
- fixed #11997: maximumAssets in config is ignored (Arjan Widlak / United Knowledge)
- fixed #11998: maximumAssets affects not only new assets, but als prevents editing existing assets if maximum is reached
- fixed #12003: WebGUI::User->delete leaves around cache data
- fixed #12007: Hardcoded js in cart view ( Martin Kamerbeek / Oqapi )
7.10.6
- fixed #11974: Toolbar icons unclickable in Webkit using HTML5

View file

@ -1255,14 +1255,6 @@ sub www_view {
# render the cart
my $template = WebGUI::Asset::Template->new($session, $session->setting->get("shopCartTemplateId"));
my $style = $session->style;
my $yui = $url->extras('/yui/build');
$style->setScript("$yui/yahoo-dom-event/yahoo-dom-event.js");
$style->setScript("$yui/json/json-min.js");
$style->setScript("$yui/connection/connection-min.js");
$style->setScript($url->extras('underscore/underscore-min.js'));
$style->setScript($url->extras('shop/cart.js'), undef, 1);
return $session->style->userStyle($template->process(\%var));
}