Closed Bug 495242 Opened 11 years ago Closed 11 years ago
_close shouldn't be passed through the controllers for menu options
In the 3 pane window, call DefaultController.supportsCommand("cmd_close") and you'll always get true returned. Same for the standalone window. It is never used in the hiddenWindow (menu_close is disabled). Therefore we should stop pretending it can be disabled, and just call the different functions we need directly. I need this for bug 493700 where we're redoing the controllers, and if someone decides not to implement a controller or all of it, then the user won't be able to close a tab or window via the menu at least...
Attachment #380143 - Flags: review?(philringnalda)
Attachment #380143 - Flags: review?(philringnalda) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.