Don't show forward dropdown image if disabled
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 04:57:25 +0000 (21:57 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 07:46:02 +0000 (00:46 -0700)
imp/js/DimpBase.js

index 0a9f055..5610c96 100644 (file)
@@ -2965,8 +2965,10 @@ var DimpBase = {
             this._addMouseEvents({ id: 'button_reply', type: 'reply' }, $('button_reply'));
             DM.disable('button_reply_img', true, true);
 
-            this._addMouseEvents({ id: 'button_forward', type: 'forward' }, $('button_forward'));
-            DM.disable('button_forward_img', true, true);
+            if ($('ctx_forward')) {
+                this._addMouseEvents({ id: 'button_forward', type: 'forward' }, $('button_forward'));
+                DM.disable('button_forward_img', true, true);
+            }
         }
 
         new Drop('dropbase', this._folderDropConfig);