[Svn] r4174 - in trunk/roundcubemail/program: js steps/mail

trac at roundcube.net trac at roundcube.net
Thu Nov 4 08:41:06 CET 2010


Author: alec
Date: 2010-11-04 02:41:06 -0500 (Thu, 04 Nov 2010)
New Revision: 4174

Modified:
   trunk/roundcubemail/program/js/app.js
   trunk/roundcubemail/program/steps/mail/mark.inc
Log:
- Don't show confirmation message when marking message as read using delay (preview_pane_mark_read>0)


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2010-11-03 14:40:35 UTC (rev 4173)
+++ trunk/roundcubemail/program/js/app.js	2010-11-04 07:41:06 UTC (rev 4174)
@@ -1838,7 +1838,7 @@
             ref.set_unread_count(ref.env.mailbox, ref.env.unread_counts[ref.env.mailbox], ref.env.mailbox == 'INBOX');
           }
           if (ref.env.preview_pane_mark_read > 0)
-            ref.http_post('mark', '_uid='+id+'&_flag=read');
+            ref.http_post('mark', '_uid='+id+'&_flag=read&_quiet=1');
         }, this.env.preview_pane_mark_read * 1000);
       }
     }

Modified: trunk/roundcubemail/program/steps/mail/mark.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/mark.inc	2010-11-03 14:40:35 UTC (rev 4173)
+++ trunk/roundcubemail/program/steps/mail/mark.inc	2010-11-04 07:41:06 UTC (rev 4174)
@@ -51,7 +51,7 @@
     $OUTPUT->send();
     exit;
   }
-  else {
+  else if (empty($_POST['_quiet'])) {
     $OUTPUT->show_message('messagemarked', 'confirmation');
   }
 

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



More information about the Svn mailing list