Guys, I am likely going to submit this as a bug, but wanted to see if anyone else is experiencing it. I''m trying to use an Ajax.InPlaceEditor. In firefox, it works great, but in IE, it adds two form elements when clicked instead of one. In other words, you have two text fields, two ok buttons, and two cancel links after clicking an element to be edited. This even happens when performing the online demo, found here: http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor Can anyone confirm or deny that they''re experiencing similar behavior? Thanks, as always, for the help! John -- Posted via http://www.ruby-forum.com/.
On Jan 22, 2006, at 9:15 AM, John Wells wrote:> In other words, you have two text fields, two ok buttons, and two > cancel > links after clicking an element to be edited. > > This even happens when performing the online demo, found here: > > http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditorSame behavior in Safari 2.0.3 (417.8) -- -- Tom Mornini
Kevin Olbrich
2006-Jan-22 18:19 UTC
[Rails] Re: Bug in Script.aculo.us'' Ajax.InPlaceEditor?
Tom Mornini wrote:> On Jan 22, 2006, at 9:15 AM, John Wells wrote: > >> In other words, you have two text fields, two ok buttons, and two >> cancel >> links after clicking an element to be edited. >> >> This even happens when performing the online demo, found here: >> >> http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor > > Same behavior in Safari 2.0.3 (417.8) > > -- > -- Tom MorniniI see that behavior on the demo page using Maxthon (which is basically IE with a spiffy front-end). _Kevin -- Posted via http://www.ruby-forum.com/.
Yep, I see the same thing in IE6 on win2k with all the latest patches. b John Wells wrote:> Guys, > > I am likely going to submit this as a bug, but wanted to see if anyone > else is experiencing it. I''m trying to use an Ajax.InPlaceEditor. In > firefox, it works great, but in IE, it adds two form elements when > clicked instead of one. > > In other words, you have two text fields, two ok buttons, and two cancel > links after clicking an element to be edited. > > This even happens when performing the online demo, found here: > > http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor > > Can anyone confirm or deny that they''re experiencing similar behavior? > > Thanks, as always, for the help! > > John >
Using Safari Version 2.0.3 (417.8), I see the same behavior on that demo page. However, in an app of mine which uses InPlaceEditor, it works as expected. I manually updated our app to the most recent Prototype(1.4.0) and scriptaculous(1.5.1)... -- Posted via http://www.ruby-forum.com/.
Thanks guys. It almost looks like a timing issue...I can insert alerts into the class in controls.js and the problem goes away...I suspect because the alert slow it down enough to fix the problem. If only setTimeout allowed maintaining of scope, I''d explore this further. Thanks! John -- Posted via http://www.ruby-forum.com/.
Sigh...what fun. I resolved my issue. It had to do with an accidental typo in the script that generates my fields, so that there was a duplicate of two sections of about 20 elements. Each of those elements were duplicated, and their ids were duplicated. This explains it pretty well. The reason the demo page at script.aculo.us demonstrates the same behavior is that they use the id "editme" in numerous page sections. Apparently Firefox ignores this, IE and Safari do not. Thanks, John -- Posted via http://www.ruby-forum.com/.