i'll investigate in the morning for you
----- Original Message ----- 
From: "terry-5-" <nathaliesteinf...@gmx.net>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, June 02, 2009 5:48 PM
Subject: [Proto-Scripty] Re: Revert sortable on return value true? Possible?


>
> Hi Alex,
>
> Thanks for being so patient. I deleted the previous message because I
> saw your link to the patch after I submitted it. Wow, this is just a
> mistery to me, but I added the patch, added revert to the sortable
> decleration, checked the return value which is true for what I am
> checking and still it doesn't work.
>
> I get a lot of warnings in firebug for prototyp.js, effects.js, and
> dragdrop.js.
> I haven't invastigated, but I don't think it has anything directly to
> do with the patch. Does the patch only work with a certain version of
> the files?
>
> Sortable.create('blank_1',{tag:'span',dropOnEmpty: true,
> constraint:true, containment:sections, only:'lineitem',
> onUpdate:function(el){changeClass(el)}, revert:changeClass});
>
> function changeClass(el){
> var flag =false;
> var sections = document.getElementsByClassName('section');
>
> sections.each(function(section) {
> var sectionID = el.id;
> var sectionall_ID = section.id;
> var sequence=(Sortable.sequence(el.id));
> });
>
> str_post=str_post.join(",");
> if(str_post.match(",")){
> flag =true;
> }
> alert((flag == true)?true:false);
> return (flag == true)?true:false;
> }
> >
> 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to