From e79d7f5c65c4bb3b8102086633734222957a7eec Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 11 Aug 2009 05:19:59 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A6=AA=E3=81=AE=E9=A0=85=E7=9B=AE=E3=81=8C?= =?UTF-8?q?=E6=AD=A3=E3=81=97=E3=81=8F=E9=81=B8=E6=8A=9E=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=81=93=E3=81=A8=E3=81=8C=E3=81=82=E3=81=A3?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4932 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/bookmarksOverlayEditable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/bookmarksOverlayEditable.js b/content/treestyletab/bookmarksOverlayEditable.js index 62ca42a9..b14de84f 100644 --- a/content/treestyletab/bookmarksOverlayEditable.js +++ b/content/treestyletab/bookmarksOverlayEditable.js @@ -41,7 +41,7 @@ var TreeStyleEditableBookmarkService = { initUI : function() { - if (!('gEditItemOverlay' in window) || this.UIInitialized) return; + if (this.UIInitialized || !('gEditItemOverlay' in window)) return; var container = document.getElementById('editBookmarkPanelGrid'); if (!container) return; @@ -122,7 +122,7 @@ var TreeStyleEditableBookmarkService = { range.detach(); var selected = popup.getElementsByAttribute('selected', 'true')[0]; - this.menulist.value = (selected || this.blankItem).value; + this.menulist.value = (selected || this.blankItem).getAttribute('value'); }, _createSiblingsFragment : function(aCurrentItem) {