From 06a6b49085a7b79b0fef1973146af9a0b5c19673 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Thu, 21 Apr 2011 10:21:34 -0400 Subject: [PATCH] Corrects a problem where the "Saved" message never disappeared on IE8. When saving system preferences, a black message box appears. This message bos never disappeared on IE8 because the timeout to hide it was set to Infinity. Changed the default value to 2 seconds instead. --- .../prog/en/lib/jquery/plugins/humanmsg.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js index d38cf93..abf4ed0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js +++ b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js @@ -38,10 +38,10 @@ var humanMsg = { if (options != undefined) { delay = 'delay' in options ? parseInt(options.delay) * 1000 : 1000 - life = 'life' in options ? parseInt(options.life) * 1000 : Infinity + life = 'life' in options ? parseInt(options.life) * 1000 : 2000 } else { delay = 1000 - life = Infinity + life = 2000 } clearTimeout(humanMsg.t2); -- 1.5.6.5