classified dd and finalized multi-inheritance
[xynt.git] / mplanner.html
index ed5e605..a68fbe6 100644 (file)
@@ -43,15 +43,15 @@ function dropr4()
 window.onload = function () {
     // window.setTimeout(exchange, 2000);
 
-    Drag.init($('t1'), dropr1, $('t1'), -1600, 1600, 10,10);
-    Drag.init($('t2'), dropr2, $('t2'), -1600, 1600, 10,10);
-    Drag.init($('t3'), dropr1, $('t3'), -1600, 1600, 10,10);
-    Drag.init($('t4'), dropr2, $('t4'), -1600, 1600, 10,10);
+    Drag.call($('t1'), dropr1, -1600, 1600, 10,10);
+    Drag.call($('t2'), dropr2, -1600, 1600, 10,10);
+    Drag.call($('t3'), dropr1, -1600, 1600, 10,10);
+    Drag.call($('t4'), dropr2, -1600, 1600, 10,10);
  
-    Drag.init($('r1'), dropr1, $('r1'), 0,0, -900,900);
-    Drag.init($('r2'), dropr2, $('r2'), 0,0, -900,900);
-    Drag.init($('r3'), dropr3, $('r3'), 0,0, -900,900);
-    Drag.init($('r4'), dropr4, $('r4'), 0,0, -900,900);
+    Drag.call($('r1'), dropr1, 0,0, -900,900);
+    Drag.call($('r2'), dropr2, 0,0, -900,900);
+    Drag.call($('r3'), dropr3, 0,0, -900,900);
+    Drag.call($('r4'), dropr4, 0,0, -900,900);
 
     l = new tasks_link($('board'), $('t1'), $('t2'), "ss");
     l = new tasks_link($('board'), $('t3'), $('t4'), "ss");