Closed
Bug 237437
Opened 21 years ago
Closed 21 years ago
In <abDragDrop.js>, "2" "Warning: anonymous function does not always return a value"
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
SeaMonkey
MailNews: Address Book & Contacts
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.7final
People
(Reporter: sgautherie, Assigned: sgautherie)
Details
Attachments
(3 obsolete files)
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040219] (W98SE)
{{
Warning: anonymous function does not always return a value
Source File: chrome://messenger/content/addressbook/abDragDrop.js
Line: 132, Column: 16
Source Code:
return; // should not be here
Warning: anonymous function does not always return a value
Source File: chrome://messenger/content/addressbook/abDragDrop.js
Line: 175, Column: 4
Source Code:
},
}}
Updating:
*(A.To) sspitzer#mozilla.org -> me
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha
Assignee | ||
Comment 1•21 years ago
|
||
Bug fix,
plus some cleanup.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 143881 [details] [diff] [review]
(Av1) <abDragDrop.js>
'r=?':
Could you review and test it ?
Attachment #143881 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•21 years ago
|
Attachment #143881 -
Attachment is obsolete: true
Attachment #143881 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 3•21 years ago
|
||
Av1, without most of the cleanup.
Assignee | ||
Updated•21 years ago
|
Attachment #144132 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 4•21 years ago
|
||
Comment on attachment 144132 [details] [diff] [review]
(Av1b) <abDragDrop.js>
>- if (!targetDirectory.isMailList &&
>- (!(targetDirectory.operations & targetDirectory.opWrite)))
>- return false;
>-
>- return true;
>+ return (targetDirectory.isMailList ||
>+ (targetDirectory.operations & targetDirectory.opWrite));
r=me if you reindent this.
> var dragSession = dragService.getCurrentSession();
>+
> if (!dragSession)
Nit: no point separating the initialization from the test.
Attachment #144132 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 5•21 years ago
|
||
Av1b, with comment 4 suggestion(s).
Attachment #144132 -
Attachment is obsolete: true
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 144973 [details] [diff] [review]
(Av1c) <abDragDrop.js>
[Checked in: Comment 9]
Keeping |(Av1b) <abDragDrop.js> patch 2004-03-17 07:51 PST
neil.parkwaycc.co.uk: review+|.
Attachment #144973 -
Flags: superreview?(mscott)
Attachment #144973 -
Flags: review+
Updated•21 years ago
|
Attachment #144973 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 7•21 years ago
|
||
Comment on attachment 144973 [details] [diff] [review]
(Av1c) <abDragDrop.js>
[Checked in: Comment 9]
'approval1.7=?':
Trivial code fix, no risk;
(Trying v1.7 instead of waiting for v1.8a, as v1.7 will become new
long-lived...)
Attachment #144973 -
Flags: approval1.7?
Comment 8•21 years ago
|
||
Comment on attachment 144973 [details] [diff] [review]
(Av1c) <abDragDrop.js>
[Checked in: Comment 9]
a=mkaply
Attachment #144973 -
Flags: approval1.7? → approval1.7+
Comment 9•21 years ago
|
||
Fix checked in.
Assignee | ||
Updated•21 years ago
|
Attachment #144973 -
Attachment description: (Av1c) <abDragDrop.js> → (Av1c) <abDragDrop.js>
[Checked in: Comment 9]
Attachment #144973 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.8alpha → mozilla1.7final
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•