[Svn] r4430 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Wed Jan 19 14:46:42 CET 2011


Author: alec
Date: 2011-01-19 07:46:42 -0600 (Wed, 19 Jan 2011)
New Revision: 4430

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Fix: selecting Preferences tab doesn't work after clicking other tab


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2011-01-19 13:43:56 UTC (rev 4429)
+++ trunk/roundcubemail/program/js/app.js	2011-01-19 13:46:42 UTC (rev 4430)
@@ -652,7 +652,7 @@
               input_email.focus();
               break;
             }
-            
+
             // clear empty input fields
             $('input.placeholder').each(function(){ if (this.value == this._placeholder) this.value = ''; });
           }
@@ -1015,7 +1015,7 @@
           this.goto_url('export', { _source:this.env.source, _gid:this.env.group, _search:this.env.search_request });
         }
         break;
-        
+
       case 'upload-photo':
         this.upload_contact_photo(props);
         break;
@@ -1026,15 +1026,9 @@
 
       // user settings commands
       case 'preferences':
-        this.goto_url('');
-        break;
-
       case 'identities':
-        this.goto_url('settings/identities');
-        break;
-
       case 'folders':
-        this.goto_url('settings/folders');
+        this.goto_url('settings/' + command);
         break;
 
       // unified command call (command name == function name)

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



More information about the Svn mailing list