Search and Top Navigation
Ticket #4703: ui.sortable.patch
File ui.sortable.patch, 0.4 KB (added by kae, July 23, 2009 07:42PM UTC)
bug-fix
--- ui.sortable.js 2009-07-23 20:41:09.183047864 +0100
+++ ui.sortable.kae.js 2009-07-23 20:38:10.152801961 +0100
@@ -641,6 +641,7 @@
_contactContainers: function(event) {
for (var i = this.containers.length - 1; i >= 0; i--){
+ if($.ui.contains(this.currentItem[0],this.containers[i].element[0]))continue;
if(this._intersectsWith(this.containers[i].containerCache)) {
if(!this.containers[i].containerCache.over) {
Download in other formats:
Original Format
File ui.sortable.patch, 0.4 KB (added by kae, July 23, 2009 07:42PM UTC)
bug-fix
--- ui.sortable.js 2009-07-23 20:41:09.183047864 +0100
+++ ui.sortable.kae.js 2009-07-23 20:38:10.152801961 +0100
@@ -641,6 +641,7 @@
_contactContainers: function(event) {
for (var i = this.containers.length - 1; i >= 0; i--){
+ if($.ui.contains(this.currentItem[0],this.containers[i].element[0]))continue;
if(this._intersectsWith(this.containers[i].containerCache)) {
if(!this.containers[i].containerCache.over) {