Permalink
Browse files

deleteCloned changed to clone.drag

  • Loading branch information...
1 parent 02e8be3 commit e0300ff3f53716f92159e58b25eee18b45110666 @dbunic committed Nov 8, 2012
Showing with 76 additions and 82 deletions.
  1. +1 −1 example01/script.js
  2. +1 −1 example02/script.js
  3. +59 −59 redips-drag-min.js
  4. +15 −21 redips-drag-source.js
View
@@ -90,7 +90,7 @@ function toggleConfirm(chk) {
// toggles delete_cloned parameter defined at the top
function toggleDeleteCloned(chk) {
- REDIPS.drag.deleteCloned = chk.checked;
+ REDIPS.drag.clone.drop = !chk.checked;
}
View
@@ -30,7 +30,7 @@ redipsInit = function () {
// if the DIV element was placed on allowed cell then
if (rd.td.target.className.indexOf(rd.mark.exception[rd.obj.id]) !== -1) {
// make it a unmovable
- rd.enableDrag(false, rd.obj.id);
+ rd.enableDrag(false, rd.obj);
// increase counter
num++;
// prepare and display message
Oops, something went wrong. Retry.

0 comments on commit e0300ff

Please sign in to comment.