Bugzilla – Attachment 18562 Details for
Bug 9779
Remove global include of YUI assets from the staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9779 - Remove global include of YUI assets from the staff client
Bug-9779---Remove-global-include-of-YUI-assets-fro.patch (text/plain), 2.86 KB, created by
Owen Leonard
on 2013-05-31 18:24:22 UTC
(
hide
)
Description:
Bug 9779 - Remove global include of YUI assets from the staff client
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-05-31 18:24:22 UTC
Size:
2.86 KB
patch
obsolete
>From 406318e589390e66fbfaa25506f264ef379b1d04 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 @@ > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/wizard.css" /> > [% END %] > >-<!-- yui js --> >-<script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> >-<script type="text/javascript" src="[% yuipath %]/button/button-min.js"></script> >-<script type="text/javascript" src="[% yuipath %]/container/container_core-min.js"></script> >-<script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> >- > <!-- koha core js --> > <script type="text/javascript" src="[% themelang %]/js/staff-global.js"></script> > [% 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' %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> >+<script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> >+<script type="text/javascript" src="[% yuipath %]/button/button-min.js"></script> >+<script type="text/javascript" src="[% yuipath %]/container/container_core-min.js"></script> >+<script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> > <script type="text/javascript" src="[% themelang %]/js/acq.js"></script> > [% IF ( grouping ) %] > <script type="text/javascript" src="[% yuipath %]/yahoo-dom-event/yahoo-dom-event.js"></script> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9779
:
18562
|
18636
|
19047