Actions
Bug #250
closedScriptaculous update broke dashboard drag & drop
Start date:
12/28/2009
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
The recent Scriptaculous update in 3bb547c2b391bf1e134ac9ee4ef98aca0fdbd1b6 has broken the drag and drop rearrangement of dashboard widgets. Backing out this commit fixes drag and drop, though there are other dashboard issues I will open a separate ticket for.
I wasn't able to get firebug to show any errors, but Opera's javascript console did show this error:
JavaScript - http://192.168.1.1/ Event thread: dataavailable Error: name: TypeError message: Statement on line 4441: Cannot convert undefined or null to Object stacktrace: Line 4441 of inline#4 script in http://192.168.1.1/: In function _createResponder var respondersForEvent = registry.get(eventName); Line 4520 of inline#4 script in http://192.168.1.1/: In function observe var responder = _createResponder(element, eventName, handler); Line 286 of inline#7 script in http://192.168.1.1/ Event.observe(this.handle, "mousedown", this.eventMouseDown); ... Line 90 of inline#4 script in http://192.168.1.1/: In function klass this.initialize.apply(this, arguments); Line 719 of inline#7 script in http://192.168.1.1/ options.draggables.push( ... Line 707 of inline#4 script in http://192.168.1.1/ iterator.call(context, value, index++); ... Line 706 of inline#4 script in http://192.168.1.1/: In function each this._each(function(value) { Line 716 of inline#7 script in http://192.168.1.1/ (options.elements || this.findElements(element, options) || []).each( function(e,i) { Line 4 of inline#20 script in http://192.168.1.1/ Sortable.create("col1", {tag:'div',dropOnEmpty:true,containment:columns,handle:'widgetheader',constraint:false,only:'widgetdiv',onChange:showSave}); ... Line 4459 of inline#4 script in http://192.168.1.1/ handler.call(element, event); ...
Actions