Closed
Bug 474667
Opened 16 years ago
Closed 16 years ago
controller.type doesn't fire oninput events
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [verified-mozmill-1.1])
Attachments
(1 file)
757 bytes,
application/x-javascript
|
Details |
Sorry, when I cannot describe it in detail but Marco can help out here.
As what I've seen today is, that when you use controller.type to change the title of a bookmark inside the editBookmarksPanel the title is not updated. As what Marco said, we have to use oninput to propagate the event.
I'll attach a MozMill test which has to be run with the latest trunk build of MozMill. Otherwise it will not run.
Comment 1•16 years ago
|
||
editBMPanel_namepicker is an editable menulist, with an oninput listener.
oninput the content of the list is saved to another element that we use to save the title.
i can't see oninput handler called when type sets the value of this element, while i definately see it when manually typing.
Comment 2•16 years ago
|
||
Type simply doesn't fire oninput at all because I didn't know that listener even existed, ill try adding it this afternoon and see how this should work.
Comment 3•16 years ago
|
||
Apparently controller.menus.bookmarksMenu.menu_bookmarkThisPage is no longer in the code base, can someone give me this code so that I can work on this and see if I can add the oninput event to type?
Reporter | ||
Comment 4•16 years ago
|
||
Adam, you have to use a trunk nightly build to be able to run this test. It will not work with Shiretoko right now. If you are using such a build you should see the problem.
Comment 5•16 years ago
|
||
Ah thats the issue, okay thanks.
Reporter | ||
Comment 6•16 years ago
|
||
Adam, any progress on this bug so far?
Comment 7•16 years ago
|
||
This should now be fixed in trunk.Committed revision 361.
Reporter | ||
Comment 8•16 years ago
|
||
Looks good. Is it something we can get for the 1.0.3 release?
Comment 9•16 years ago
|
||
Thats a mikeal question, I had to monkey around with all this code again, can you re-verify?
Comment 10•16 years ago
|
||
We're shooting to get 1.1 out this week so I don't think we'll be pushing out another 1.0.x release before that.
Reporter | ||
Comment 11•16 years ago
|
||
(In reply to comment #9)
> Thats a mikeal question, I had to monkey around with all this code again, can
> you re-verify?
Yeah. That looks fantastic! Both methods (open, and type) are working now. Thanks! If I should find regressions I'll open a follow-up bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Whiteboard: [mozmill-1.1] → [verified-mozmill-1.1]
Assignee | ||
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•