From 33525e29891ce5464c049cecadac66b745e9d921 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Wed, 12 Jan 2011 04:06:46 +0900 Subject: [PATCH] make it safe --- content/treestyletab/treestyletabbrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 298d52b1..58e59546 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3368,7 +3368,8 @@ TreeStyleTabBrowser.prototype = { !w.UI || !w.UI.setReorderTabItemsOnShow || !w.GroupItems || - !w.GroupItems.getActiveGroupItem + !w.GroupItems.groupItems || + !w.GroupItems.groupItems.length ) return;