[Proto-Scripty] Re: Ajax.InPlaceCollectionEditor seems to be broken in 1.8.2

2009-02-02 Thread joe t.

Sorry, it took me some time to get organized and find time to work on
this problem.

i have NO idea whether this will help your situation, but i DID
discover what i think solves the non-displaying SELECT list problem in
IE. Using the IE8 JS debugger, controls.js fails at line ~841:

this._controls.editor.update('');

because at line ~766, the SELECT object is created by the native
createElement method, but is not Prototype extended:

var list = document.createElement('select');
list.name = this.options.paramName;
list.size = 1;
this._controls.editor = list;

i changed the last line shown above to:

this._controls.editor = $(list);

and IE started displaying the list. i couldn't tell you why Firefox
manages to get by that little slip.

i did try out your test pages and saw some of the incorrect behaviors.
Unfortunately, i can't really dig deep right now to help with that. i
wish you luck, and i'll post the fix above at Scriptaculous to


On Jan 29, 12:03 pm, Gunter  Sammet gunter.sam...@gmail.com wrote:
 On Jan 29, 6:56 am, joe t. thooke...@gmail.com wrote:

  i'm using unmodified 1.8.2 and the IPCE works fine with Firefox 3. IE
  is a totally different story, and damn me for not testing, thinking
  existing functionality wouldn't get broken with upgrades... IE doesn't
  display the SELECT control at ALL.
  -joe t.

 Did you try my 2 examples on FF3? Doesn't work for me on my Vista
 machine:

 http://sammysolutions.com/debugging/ajax/scriptaculous/sheeteditor-te...http://sammysolutions.com/debugging/ajax/scriptaculous/sheeteditor-te...

 Only have issues with the version where the value is not the same as
 the Option itself:

 select name=mySelect1
   option value=123Volvo/option
   option value=345Saab/option
   option value=456Mercedes/option
   option value=678Audi/option
 /select

 Thanks for the input and if you manage to fix the IE issue, I'd
 appreciate if you can post it here.
 Cheers,

 Gunter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Ajax.InPlaceCollectionEditor seems to be broken in 1.8.2

2009-01-29 Thread Gunter Sammet



On Jan 29, 6:56 am, joe t. thooke...@gmail.com wrote:
 i'm using unmodified 1.8.2 and the IPCE works fine with Firefox 3. IE
 is a totally different story, and damn me for not testing, thinking
 existing functionality wouldn't get broken with upgrades... IE doesn't
 display the SELECT control at ALL.
 -joe t.


Did you try my 2 examples on FF3? Doesn't work for me on my Vista
machine:

http://sammysolutions.com/debugging/ajax/scriptaculous/sheeteditor-test-182.htm
http://sammysolutions.com/debugging/ajax/scriptaculous/sheeteditor-test-182-fixed.htm

Only have issues with the version where the value is not the same as
the Option itself:

select name=mySelect1
  option value=123Volvo/option
  option value=345Saab/option
  option value=456Mercedes/option
  option value=678Audi/option
/select

Thanks for the input and if you manage to fix the IE issue, I'd
appreciate if you can post it here.
Cheers,

Gunter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---