This patch moves the textarea-expander and tablednd jQuery plugins to
intranet-tmpl/prog/lib/jquery/plugins so that they will not be
duplicated for each set of translated templates.

To test you must have the SearchEngine system preference set to 'Solr.'
Apply the patch and test Solr search engine configuration in
Administration -> Search engine configuration. Textarea resizing should
work correctly. Table row reordering should work correctly.
---
 .../lib/jquery/plugins/jquery.textarea-expander.js |    0
 .../{prog/en => }/lib/jquery/plugins/tablednd.js   |    0
 .../en/modules/admin/searchengine/solr/indexes.tt  |    4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename koha-tmpl/intranet-tmpl/{prog/en => 
}/lib/jquery/plugins/jquery.textarea-expander.js (100%)
 rename koha-tmpl/intranet-tmpl/{prog/en => }/lib/jquery/plugins/tablednd.js 
(100%)

diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.textarea-expander.js
 b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.textarea-expander.js
similarity index 100%
rename from 
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.textarea-expander.js
rename to koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.textarea-expander.js
diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/tablednd.js 
b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/tablednd.js
similarity index 100%
rename from koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/tablednd.js
rename to koha-tmpl/intranet-tmpl/lib/jquery/plugins/tablednd.js
diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt
index b72a1ea..1f7c35b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt
@@ -1,8 +1,8 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Administration &rsaquo; Solr config</title>
 [% INCLUDE 'doc-head-close.inc' %]
-<script type="text/javascript" src="[% themelang 
%]/lib/jquery/plugins/tablednd.js"></script>
-<script type="text/javascript" src="[% themelang 
%]/lib/jquery/plugins/jquery.textarea-expander.js"></script>
+<script type="text/javascript" src="[% interface 
%]/lib/jquery/plugins/tablednd.js"></script>
+<script type="text/javascript" src="[% interface 
%]/lib/jquery/plugins/jquery.textarea-expander.js"></script>
 <script type="text/javascript">
     function clean_line( line ) {
         $(line).find('input[type="text"]').val("");
-- 
1.7.9.5
_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to