Changeset 683
- Timestamp:
- 09/16/08 06:02:21 (18 months ago)
- Location:
- trunk/ui
- Files:
-
- 3 modified
-
ui.draggable.js (modified) (1 diff)
-
ui.resizable.js (modified) (2 diffs)
-
ui.sortable.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.draggable.js
r681 r683 56 56 57 57 }, 58 _mouseStart: function(e) { 59 58 59 _mouseCapture: function(e) { 60 60 61 var o = this.options; 61 62 62 63 if (this.helper || o.disabled || $(e.target).is('.ui-resizable-handle')) 63 64 return false; 64 65 65 66 //Quit if we're not on a valid handle 66 varhandle = this.getHandle(e);67 if (! handle)67 this.handle = this.getHandle(e); 68 if (!this.handle) 68 69 return false; 70 71 return true; 72 73 }, 74 75 _mouseStart: function(e) { 76 77 var o = this.options; 69 78 70 79 //Create and append the visible helper -
trunk/ui/ui.resizable.js
r658 r683 258 258 } 259 259 }, 260 _mouseStart: function(e) { 260 261 _mouseCapture: function(e) { 262 261 263 if(this.options.disabled) return false; 262 264 … … 266 268 } 267 269 if (!handle) return false; 270 271 return true; 272 273 }, 274 275 _mouseStart: function(e) { 268 276 269 277 var o = this.options, iniPos = this.element.position(), el = this.element, -
trunk/ui/ui.sortable.js
r682 r683 362 362 363 363 _mouseCapture: function(e, overrideHandle) { 364 364 365 365 if(this.options.disabled || this.options.type == 'static') return false; 366 366