X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=program%2Fjs%2Fapp.js.src;fp=program%2Fjs%2Fapp.js.src;h=45dac5e6504f417e462e2a3580f2d86375eaf59d;hb=315a64971ff1249e4d5884f309fab5ddbfe55cc6;hp=4379b21b1dbbfb839cf9c0d385114ff9b9142ab4;hpb=4212156c5c79d2f58342feb0d3ed1893f177bcab;p=roundcube.git
diff --git a/program/js/app.js.src b/program/js/app.js.src
index 4379b21..45dac5e 100644
--- a/program/js/app.js.src
+++ b/program/js/app.js.src
@@ -14,7 +14,7 @@
| Requires: jquery.js, common.js, list.js |
+-----------------------------------------------------------------------+
- $Id: app.js 4400 2011-01-09 08:24:39Z alec $
+ $Id: app.js 4469 2011-01-29 14:55:12Z thomasb $
*/
@@ -1006,15 +1006,9 @@ function rcube_webmail()
// 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)
@@ -1701,7 +1695,7 @@ function rcube_webmail()
var action = flags.mbox == this.env.drafts_mailbox ? 'compose' : 'show';
var uid_param = flags.mbox == this.env.drafts_mailbox ? '_draft_uid' : '_uid';
cols.subject = ''+cols.subject+'';
+ ' onclick="return rcube_event.cancel(event)" onmouseover="rcube_webmail.long_subject_title(this,'+(message.depth+1)+')">'+cols.subject+'';
}
// add each submitted col
@@ -3777,6 +3771,9 @@ function rcube_webmail()
this.show_contentframe(false);
}
+ if (this.env.group)
+ qs += '&_gid='+urlencode(this.env.group);
+
// also send search request to get the right records from the next page
if (this.env.search_request)
qs += '&_search='+this.env.search_request;
@@ -4309,6 +4306,14 @@ function rcube_webmail()
}
};
+ // disables subscription checkbox (for protected folder)
+ this.disable_subscription = function(folder)
+ {
+ var id = this.get_folder_row_id(folder);
+ if (id)
+ $('input[name="_subscribed[]"]', $('#'+id)).attr('disabled', true);
+ };
+
this.folder_size = function(folder)
{
var lock = this.set_busy(true, 'loading');
@@ -4666,6 +4671,7 @@ function rcube_webmail()
}
th.appendChild(tr);
thead.parentNode.replaceChild(th, thead);
+ thead = th;
}
for (n=0, len=this.env.coltypes.length; n $elem.parent().width())
+ elem.title = $elem.html();
+ }
+};
+
// copy event engine prototype
rcube_webmail.prototype.addEventListener = rcube_event_engine.prototype.addEventListener;
rcube_webmail.prototype.removeEventListener = rcube_event_engine.prototype.removeEventListener;