Hi all,
I have probably find a bug in the latest release of Scriptaculous :
In 1.8.1 (line 612)
destroy: function(element){
var s = Sortable.options(element);
if(s) {
In 1.8.2 (line 612)
destroy: function(element){
element = $(element);
var s = Sortable.sortables[element.id];
if(s) {
Problem : if the DOM has been modified, the element might not exist
anymore, thus throwing an exception.
Proposed patch :
destroy: function(element){
element = $(element);
if(!element) return;
var s = Sortable.sortables[element.id];
if(s) {
Can you confirm this issue ?
Regards,
Olivier
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---