Closed
Bug 92247
Opened 24 years ago
Closed 23 years ago
rename "dialog" to "gComposerDialog" in editor js files
Categories
(SeaMonkey :: Composer, defect)
SeaMonkey
Composer
Tracking
(Not tracked)
mozilla0.9.6
People
(Reporter: Brade, Assigned: cmanske)
Details
We shouldn't use "dialog" as a global variable. Instead we should use something
more specific to Composer. I suggest "gComposerDialog" but something similar
would be fine as well.
On a related note, if someone were to convert all of the dialogs into floating
palettes, would the JS still work or do we need each dialog to have its own
global variable (gImageDialog, gTableDialog, gHRuleDialog, etc.)? I'd prefer
going with names like these instead of sharing "gComposerDialog" if that is
possible.
Assignee | ||
Comment 1•24 years ago
|
||
I'd like to avoid "gComposerDialog". It is repeated many times in each dialog,
and I'd like to keep down the number of characters.
The variable is global to that specific instance of the dialog, so I don't
there's a problem.
How about "gEdDialog" or "gEdDlg" instead?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
Reporter | ||
Comment 2•24 years ago
|
||
if it's global to a specific instance, how about gImageDlog, gTableDlog,
gHRuleDlog, GAnchorDlog, gInsTableDlog, gInsHTMLDlog, etc?
Assignee | ||
Comment 3•24 years ago
|
||
Ok, nothing wrong with that strategy.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Assignee | ||
Comment 6•23 years ago
|
||
Moving all simple fixes that touch many dialogs to bug 93732.
*** This bug has been marked as a duplicate of 93732 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•