diff options
author | Hugues Hiegel <root@paranoid> | 2015-03-11 16:55:04 +0100 |
---|---|---|
committer | Hugues Hiegel <root@paranoid> | 2015-03-11 16:55:04 +0100 |
commit | 99f904adcc37d93c90defcd8ce898598e25be212 (patch) | |
tree | 60a6c7b7b9cf012d6c0e8dcf5c7f4fe0a5b6fc49 /plugin_manager/plugin_manager_fixes.js | |
parent | b2034fdfec040a67988e543a911208ef2491ce7a (diff) |
Diffstat (limited to 'plugin_manager/plugin_manager_fixes.js')
-rw-r--r-- | plugin_manager/plugin_manager_fixes.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugin_manager/plugin_manager_fixes.js b/plugin_manager/plugin_manager_fixes.js new file mode 100644 index 0000000..af08e6e --- /dev/null +++ b/plugin_manager/plugin_manager_fixes.js @@ -0,0 +1,19 @@ +if(window.rcmail){
+ rcmail.addEventListener('init', function(){
+ // logo click (all Roundcube versions)
+ if(rcmail.env.skin == 'larry'){
+ $('#toplogo').attr('onclick', '');
+ $('#toplogo').click(function(){
+ $('.button-mail').click();
+ });
+ $('#toplogo').attr('style', 'cursor: pointer');
+ }
+ });
+
+ // fix date alignment
+ if(rcmail.env.task == 'mail' && !rcmail.env.framed && !rcmail.env.extwin){
+ rcmail.addEventListener('listupdate', function(){
+ $(window).trigger('resize');
+ });
+ }
+}
|