Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: "Close Other Tabs" confirmation dialog #940

Merged
merged 1 commit into from Feb 17, 2017

Conversation

ericawright
Copy link
Collaborator

r=@bwinton

  • make numPinnedTabs a method on TC,
  • override warnAboutClosingTabs to…check properly for numpinnedtabs

Fixes #937.

Note: I'm sad that we can't use the binding to overrride tabbrowser - our verticalTabs.js file is getting out of control

Copy link
Owner

@bwinton bwinton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it.

@bwinton bwinton merged commit 48f4b66 into bwinton:master Feb 17, 2017
}
numPinned += 1;
}
let numPinned = window.numPinnedtabs();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be window.VerticalTabs.numPinnedtabs()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in #942

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it should be, thank you

@ericawright ericawright deleted the tabCloseWarning branch February 28, 2017 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants