[FIX] website snippet: fix drop widget
bzr revid: chm@openerp.com-20131127143119-zlp7iytxexznfrt6
This commit is contained in:
@@ -324,14 +324,12 @@
|
||||
}
|
||||
},
|
||||
out: function(){
|
||||
if( action === 'insert'){
|
||||
var prev = $toInsert.prev();
|
||||
if( action === 'insert' && prev && this != prev[0]){
|
||||
dropped = false;
|
||||
$toInsert.detach();
|
||||
}
|
||||
},
|
||||
drop: function(){
|
||||
dropped = true;
|
||||
},
|
||||
}
|
||||
});
|
||||
},
|
||||
stop: function(ev, ui){
|
||||
|
||||
Reference in New Issue
Block a user