Closed
Bug 70559
Opened 24 years ago
Closed 24 years ago
Duplicate entries are not getting checked
Categories
(Core :: DOM: Editor, defect)
Tracking
()
People
(Reporter: shrir, Assigned: cmanske)
Details
Attachments
(1 file)
|
925 bytes,
patch
|
Details | Diff | Splinter Review |
this bug spawned after 70558 was patched (entries do not show up in list)
Steps:
1 Click on the image icon in Composition Toolbar in composer
2 Add any image
3 Double click on the image to open Image Properties dialog
4 Click on 'Advanced Edit'
5 Select the third tab 'Javascript Events'
6 Add a event handler,say onClick()' and enter a value for it
7 Again, in the Name field add 'onClick()' and a value for it and it actually
gets added to the list
Expected: Addition of duplicate events should not be possible.
patch coming ...
| Reporter | ||
Comment 1•24 years ago
|
||
reassign :cmanske, correcting summary
Assignee: beppe → cmanske
Summary: Duplicate entries are not properly checked → Duplicate entries are not getting checked
| Reporter | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Comment 3•24 years ago
|
||
Hmmm. This problem doesn't exist with patch to fix bug 67918.
My version of EdAEJSEAttributes.js has:
if( !name)
return;
near where your patch does a similar test, but that code isn't new (isn't part
of patch to 67918), which seems strange!
Test the fix for 67918 and see if this problem occurs. In my tree, if you try
to type the same "name" as an existing attribute, it disables the "Add" button,
so you can't add a duplicate.
*** This bug has been marked as a duplicate of 67918 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•