Bug 13139 - Move treeview jQuery plugin outside of language-specific directory
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 Oct 2014 18:55:23 +0000 (14:55 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 27 Oct 2014 15:36:53 +0000 (12:36 -0300)
This patch moves the treeview plugin in the staff client from the
language-specific lib/jquery/plugins directory to the one outside the
theme directory.

To test, apply the patch and view the "Set permissions" page for a
patron. The list of permissions should display in an expandable list as
usual.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>

It works, following the test plan. I can see the jQuery treeview plugin moved
from 'prog' language specific directory to the global lib/plugins directory.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described. Found no other places where we use this plugin.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js [moved from koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.treeview.pack.js with 100% similarity]
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt

index b9cddb4..c1e751e 100644 (file)
@@ -2,7 +2,7 @@
 <title>Koha &rsaquo; Patrons &rsaquo; Set permissions for [% surname %], [% firstname %]</title>
 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/treeview/jquery.treeview.css"/>
 [% INCLUDE 'doc-head-close.inc' %]
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.treeview.pack.js"></script>
+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.treeview.pack.js"></script>
 <!-- set up tree -->
 <script type="text/javascript">
     $(document).ready(function() {