From 406318e589390e66fbfaa25506f264ef379b1d04 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 10 Mar 2013 09:47:55 -0400 Subject: [PATCH] Bug 9779 - Remove global include of YUI assets from the staff client Content-Type: text/plain; charset="utf-8" There are no pages in the staff client which use YUI JS assets other than basketgroups.tt. The links to YUI assets can therefore be removed from the global include and put directly into the basket groups template. To test, view the basketgroups page and confirm using a JS debugger that no JS errors are triggered. Perform various basket group options: Open, close, modify, drag-and-drop. Operations should complete successfully and without JS errors. --- .../prog/en/includes/doc-head-close.inc | 6 ------ .../prog/en/modules/acqui/basketgroup.tt | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 14394e6..ee7f3f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -24,12 +24,6 @@ [% END %] - - - - - - [% INCLUDE 'validator-strings.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt index 853c95a..4c5e604 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt @@ -5,6 +5,10 @@ [% INCLUDE 'doc-head-close.inc' %] + + + + [% IF ( grouping ) %] -- 1.7.9.5