Closed
Bug 104244
Opened 23 years ago
Closed 23 years ago
[RFE] add reload this/all tab(s) to context menu
Categories
(SeaMonkey :: Tabbed Browser, enhancement)
SeaMonkey
Tabbed Browser
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mythdraug, Assigned: simmo)
Details
Attachments
(1 file)
3.13 KB,
patch
|
hyatt
:
superreview+
|
Details | Diff | Splinter Review |
Add two item to tab context menu "Reload this tab" "Reload all tabs" Reload this tab is not redundant with reload button. Any tab could be reloaded, not just the current one.
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Assignee | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Looks good to me. r/sr=hyatt
Updated•23 years ago
|
Attachment #54697 -
Flags: superreview+
Comment 3•23 years ago
|
||
+ var l = this.mPanelContainer.childNodes.length; + for (var i = 0; i < l; i++) + if (this.mTabContainer.childNodes[i] == aTab) + this.mPanelContainer.childNodes[i].webNavigation.reload(true); Why do you have to enumerate the children to find aTab, just to use aTab? Is that just to ensure that we have a valid tab, because the same context menu appears for the tab strip itself? But if so, shouldn't we be preventing those items from showing up in the menu at all if the popupNode is the tab strip? (I notice Close Tab and Close Other Tabs incorrectly appear in the menu for the tab strip). hyatt knows this code better than me, so if he doesn't think it should be aTab.webNavigation.reload(true), r/sr=me...
Comment 4•23 years ago
|
||
(But if we wanted to double check we could always just check the localName, so it seems like that should be changed.)
Checking in resources/content/bindings/tabbrowser.xml; /cvsroot/mozilla/xpfe/global/resources/content/bindings/tabbrowser.xml,v <-- tabbrowser.xml new revision: 1.8; previous revision: 1.7 done Checking in resources/locale/en-US/tabbrowser.dtd; /cvsroot/mozilla/xpfe/global/resources/locale/en-US/tabbrowser.dtd,v <-- tabbrowser.dtd new revision: 1.2; previous revision: 1.1 done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 7•23 years ago
|
||
timeless, did you resolve my question?
Comment 9•21 years ago
|
||
reload(true) is wrong (it should be some kind of numeric flag). This code also doesn't deal well with getting called for the tabstrip itself (see bug 112697). Arguably the context menu code should deal with that, but that's not the pattern used by the other context menu items.
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•