Bugzilla – Attachment 14419 Details for
Bug 9335
Message Log Popups don't disappear?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9335 - humanMsg popups don't dissapear in webkit browsers
Bug-9335---humanMsg-popups-dont-dissapear-in-webki.patch (text/plain), 1.87 KB, created by
Jonathan Druart
on 2013-01-04 14:37:20 UTC
(
hide
)
Description:
Bug 9335 - humanMsg popups don't dissapear in webkit browsers
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-01-04 14:37:20 UTC
Size:
1.87 KB
patch
obsolete
>From 3dc951cb2e48aaba3ef22658325c9cf7ff0834f2 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 31 Dec 2012 16:50:22 +0000 >Subject: [PATCH] Bug 9335 - humanMsg popups don't dissapear in webkit > browsers > >The popup message that appears after saving changes to system >preferences should dissapear upon any user actions (i.e mouse >click, mouse move, typing) but this does not happen in modern >webkit based browsers since jQuery was updated. > >This patch adds the suggested fix to the jQuery plugin code as >suggested on https://code.google.com/p/humanmsg/issues/detail?id=9 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Tested with Google Chrome on Windows 7 > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Tested with Google Chrome 22 and Firefox on Debian >--- > koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js | 6 +++--- > 1 file changed, 3 insertions(+), 3 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 af37c88..4a2d62c 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 >@@ -84,9 +84,9 @@ var humanMsg = { > .unbind('click', humanMsg.removeMsg) > .unbind('keypress', humanMsg.removeMsg) > >- // If message is fully transparent, fade it out >- if (jQuery('#'+humanMsg.msgID).css('opacity') == humanMsg.msgOpacity) >- jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() }) >+ // If message is fully transparent, fade it out >+ if ( Math.abs(jQuery('#'+humanMsg.msgID).css('opacity') - humanMsg.msgOpacity ) < 0.00001 ) >+ jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() }) > } > }; > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9335
:
14343
|
14414
| 14419