Skip to content
Permalink
Browse files

core: reverted change that caused all plugins to malfunction - will l…

…ater be introduced when the tests are ready.
  • Loading branch information
Paul Bakaus
Paul Bakaus committed May 25, 2008
1 parent 70702ae commit 0f9bb627ee2337b980cf4a3c8627f6ac5b3d87ef
Showing with 3 additions and 3 deletions.
  1. +1 −1 ui/source/ui.core.js
  2. +2 −2 ui/source/ui.sortable.js
@@ -26,7 +26,7 @@

for (var i = 0; i < set.length; i++) {
if (instance.options[set[i][0]]) {
set[i][1].apply(instance, args);
set[i][1].apply(instance.element, args);
}
}
}
@@ -544,8 +544,8 @@
if((o.containment.left != undefined || o.containment.constructor == Array) && !o._containment) return;
if(!o._containment) o._containment = o.containment;

if(o._containment == 'parent') o._containment = this.element[0].parentNode;
if(o._containment == 'sortable') o._containment = this.element[0];
if(o._containment == 'parent') o._containment = this[0].parentNode;
if(o._containment == 'sortable') o._containment = this[0];
if(o._containment == 'document') {
o.containment = [
0,

0 comments on commit 0f9bb62

Please sign in to comment.
You can’t perform that action at this time.