Fix for piroor/treestyletab#982 and piroor/multipletab#101 where New Folder and Bookmark Properties dialogs appearing empty only both Tree Style Tabs and Multiple Tab Handler (and other extensions withbookmarkMultipleTabs_bookmarkPropertiesOverlay.xul) are enabled at the same time.

This commit is contained in:
xeonx1 2015-11-11 19:40:08 -08:00
parent 000ce6bfb8
commit eec2a051de

View File

@ -25,7 +25,7 @@
(function() {
if (!('BookmarkPropertiesPanel' in window) ||
!BookmarkPropertiesPanel._determineItemInfo ||
BookmarkPropertiesPanel._determineItemInfo.toSource().indexOf('__folderNameOverride') > -1)
BookmarkPropertiesPanel.__treestyletab__determineItemInfo)
return;
// Defined at http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/bookmarkProperties.js#73