Closed Bug 228432 Opened 21 years ago Closed 21 years ago

Warning ``reference to undefined property selection.item[0]'' [xs] in file ``chrome://communicator/content/bookmarks/bookmarksTree.xml'', line 641, character 0.

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 Warning ``reference to undefined property selection.item[0]'' [xs] in file ``chrome://communicator/content/bookmarks/bookmarksTree.xml'', line 641, character 0. Stopped for error handler. #0: function anonymous() in <chrome://communicator/content/bookmarks/bookmarksTree.xml> line 641 639: var selection = this.mOuter.getTreeSelection(); 640: this.mOuter._selection = selection; 641: this.mOuter._target = this.mOuter.getTreeTarget(selection.item[0], selection.parent[0], BookmarksUtils.DROP_BEFORE);
Attachment #137392 - Flags: superreview?(bz-vacation)
Attachment #137392 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 137392 [details] [diff] [review] check selection length early (it's checked later) Could we store selection.length here if it's used later?
Attachment #137392 - Flags: review?(neil.parkwaycc.co.uk) → review+
Comment on attachment 137392 [details] [diff] [review] check selection length early (it's checked later) sr=bzbarsky either way.
Attachment #137392 - Flags: superreview?(bz-vacation) → superreview+
timeless: is there a reason why you have not checked this in?
per bonsai, he did...
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Heh... but only after my comment! :-)
This probably caused bug 232827.
(In reply to comment #7) > This probably caused bug 232827. It did: reverting this patch "removes/hides" the new bug ! (for now, see there for more explanations)
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: