[Svn] r3941 - in trunk/roundcubemail: . skins/default

trac at roundcube.net trac at roundcube.net
Mon Sep 6 18:51:58 CEST 2010


Author: alec
Date: 2010-09-06 11:51:58 -0500 (Mon, 06 Sep 2010)
New Revision: 3941

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/skins/default/functions.js
Log:
- Fix attachment upload popup disapears on double click in Firefox (#1486930)       


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2010-09-06 11:09:13 UTC (rev 3940)
+++ trunk/roundcubemail/CHANGELOG	2010-09-06 16:51:58 UTC (rev 3941)
@@ -18,6 +18,7 @@
 - Fix timezone string in sent mail (#1486961)
 - Show disabled checkboxes for protected folders instead of dots (#1485498)
 - Added fieldsets in Identity form, added 'identity_form' hook
+- Fix attachment upload popup disapear on double click in Firefox (#1486930)
 
 RELEASE 0.4
 -----------

Modified: trunk/roundcubemail/skins/default/functions.js
===================================================================
--- trunk/roundcubemail/skins/default/functions.js	2010-09-06 11:09:13 UTC (rev 3940)
+++ trunk/roundcubemail/skins/default/functions.js	2010-09-06 16:51:58 UTC (rev 3941)
@@ -211,7 +211,7 @@
   rcmail.set_list_options(cols, sort, ord, thread == 'thread' ? 1 : 0);
 },
 
-body_mouseup: function(evt, p)
+body_mousedown: function(evt, p)
 {
   var i, target = rcube_event.get_target(evt);
 
@@ -425,11 +425,11 @@
 function rcube_init_mail_ui()
 {
   rcmail_ui = new rcube_mail_ui();
-  rcube_event.add_listener({ object:rcmail_ui, method:'body_mouseup', event:'mouseup' });
+  rcube_event.add_listener({ object:rcmail_ui, method:'body_mousedown', event:'mousedown' });
   rcube_event.add_listener({ object:rcmail_ui, method:'body_keypress', event:'keypress' });
 
   $('iframe').load(iframe_events)
-    .contents().mouseup(function(e){rcmail_ui.body_mouseup(e)});
+    .contents().mouseup(function(e){rcmail_ui.body_mousedown(e)});
 
   if (rcmail.env.task == 'mail') {
     rcmail.addEventListener('menu-open', 'open_listmenu', rcmail_ui);
@@ -448,6 +448,6 @@
 {
   // this==iframe
   var doc = this.contentDocument ? this.contentDocument : this.contentWindow ? this.contentWindow.document : null;
-  rcube_event.add_listener({ element: doc, object:rcmail_ui, method:'body_mouseup', event:'mouseup' });
+  rcube_event.add_listener({ element: doc, object:rcmail_ui, method:'body_mousedown', event:'mousedown' });
 }
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list