Closed
Bug 228536
Opened 21 years ago
Closed 21 years ago
Warning ``reference to undefined property this.onStandaloneImage'' [xs] in file ``chrome://communicator/content/nsContextMenu.js'', line 141, character 0.
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: neil)
Details
Attachments
(1 file, 1 obsolete file)
1.22 KB,
patch
|
timeless
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208
Warning ``reference to undefined property this.onStandaloneImage'' [xs] in file
``chrome://communicator/content/nsContextMenu.js'', line 141, character 0.
Stopped for error handler.
#0: function anonymous() in <chrome://communicator/content/nsContextMenu.js>
line 141
139: // Set As Wallpaper depends on whether an image was clicked on, and only
works on Windows.
140: var isWin = navigator.appVersion.indexOf("Windows") != -1;
141: this.showItem( "context-setWallpaper", isWin && (this.onImage ||
this.onStandaloneImage));
142:
143: this.showItem( "context-sep-image", this.onImage || this.onStandaloneImage);
Attachment #137452 -
Flags: superreview?(bz-vacation)
Attachment #137452 -
Flags: review?(neil.parkwaycc.co.uk)
![]() |
||
Comment 2•21 years ago
|
||
Comment on attachment 137452 [details] [diff] [review]
add it to the constructor
sr=bzbarsky
Attachment #137452 -
Flags: superreview?(bz-vacation) → superreview+
Assignee | ||
Comment 3•21 years ago
|
||
Don't bother constructing the context menu if we're not going to show it.
Assignee | ||
Updated•21 years ago
|
Attachment #137668 -
Flags: review?(timeless)
Attachment #137668 -
Flags: superreview?(bz-vacation)
Attachment #137668 -
Flags: review?(timeless)
Attachment #137668 -
Flags: review+
Attachment #137452 -
Attachment is obsolete: true
Attachment #137452 -
Flags: review?(neil.parkwaycc.co.uk)
![]() |
||
Comment 4•21 years ago
|
||
Comment on attachment 137668 [details] [diff] [review]
Bail out earlier
sr=bzbarsky; I'd say we want both of these patches...
Attachment #137668 -
Flags: superreview?(bz-vacation) → superreview+
Assignee | ||
Comment 5•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•