From 5a7ed8a476c324ccaa3ee6245c69cd88c3ec1327 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 9 Oct 2007 16:46:52 -0500 Subject: [PATCH] After seeing Paul's commits re: gettext javascript, correcting detail.tmpl. Also moving the function from doc-head-close.inc to staff-global.js. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 3 --- koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl | 1 - 3 files changed, 2 insertions(+), 4 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 ae53513815..d9aedf45de 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 @@ -56,6 +56,3 @@ /css/login.css" /> /css/wizard.css" /> - diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js index 9b6e1692cb..9615fd9a74 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js @@ -1,5 +1,7 @@ // staff-global.js +function _(s) { return s } // dummy function for gettext + $(document).ready(function() { $(".focus").focus(); $('#toplevelmenu').clickMenu(); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index 54dd8a3cc7..27d8c631cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -18,7 +18,6 @@