[Koha-patches] [PATCH] Bug 12102 - Move humanmsg jQuery plugin outside of language-specific directory
Owen Leonard
oleonard at myacpl.org
Thu Apr 17 19:00:50 CEST 2014
This patch moves the humanmsg jQuery plugin to
intranet-tmpl/prog/lib/jquery/plugins so that it will not be duplicated
for each set of translated templates.
To test, apply the patch and modify a system preference. The
modification messages should appear normally.
---
.../{prog/en => }/lib/jquery/plugins/humanmsg.js | 0
.../prog/en/modules/admin/preferences.tt | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename koha-tmpl/intranet-tmpl/{prog/en => }/lib/jquery/plugins/humanmsg.js (100%)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/humanmsg.js
similarity index 100%
rename from koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js
rename to koha-tmpl/intranet-tmpl/lib/jquery/plugins/humanmsg.js
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
index fc58dbe..f81f1a9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
@@ -31,7 +31,7 @@
//]]>
</script>
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/humanmsg.css" />
-<script src="[% themelang %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
+<script src="[% interface %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
<script src="[% themelang %]/js/ajax.js" type="text/javascript"></script>
<script src="[% themelang %]/js/pages/preferences.js" type="text/javascript"></script>
</head>
--
1.7.9.5
More information about the Koha-patches
mailing list