Skip to main content

Search and Top Navigation

Ticket #3591: 0001-Fix-bug-with-drag-elements-in-sortable-when-page-scr.patch


File 0001-Fix-bug-with-drag-elements-in-sortable-when-page-scr.patch, 0.8 KB (added by veged, November 14, 2008 04:17PM UTC)
From b0e7ebfabb1cc4fceb4406095a90052512cd6dfa Mon Sep 17 00:00:00 2001
From: Sergey veged Berezhnoy <“veged@mail.ru”>
Date: Fri, 14 Nov 2008 18:16:48 +0300
Subject: [PATCH] Fix bug with drag elements in sortable when page scroll downmost.

---
 ui/ui.sortable.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 ui/ui.sortable.js

diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
old mode 100755
new mode 100644
index e9f3ad3..15b04d1
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -43,6 +43,9 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
 		//Initialize mouse events for interaction
 		this._mouseInit();
 		
+		if(o.fixHeight) {
+			this.element.height(this.element.height());
+		}
 	},
 	plugins: {},
 	ui: function(inst) {
-- 
1.6.0.2

Download in other formats:

Original Format