[Firefox] Closing detached window
Posted: Thu Sep 19, 2013 11:00 pm
When I close detached blocked elems window, menu items still think that is opened.
Steps to reproduce:
1. Open list of blocked elements by menu item from toolbar button.
2. Click Detach.
3. Close detached window. Menu item from toolbar button still is something like "Close blocked elements list"
In console I see an error:
Error: TypeError: document.getElementById(...) is null
Source File: chrome://adblockplus/content/ui/sidebarDetached.xul
Line: 1
.. probably because of line 29:
Steps to reproduce:
1. Open list of blocked elements by menu item from toolbar button.
2. Click Detach.
3. Close detached window. Menu item from toolbar button still is something like "Close blocked elements list"
In console I see an error:
Error: TypeError: document.getElementById(...) is null
Source File: chrome://adblockplus/content/ui/sidebarDetached.xul
Line: 1
.. probably because of line 29:
Code: Select all
onclose="document.getElementById('abp-command-sidebar').doCommand(); return false;"