[jQuery] Bug in interfaces addon

[jQuery] Bug in interfaces addon

Hi all
First a big thank you to all of you for the great
jquery and the cool addons.
There is a bug in the interface plugin.
The onchange attr in the idrop.js / isortables.js isn't
consistent. In some places it is used onchange and
others onChange as a dropCfg attribute.
The result is, that the event doesn't get called if the
element get changed(dropped on target). This means, it's
not possible to invoke a function call if a sortable get
sorted. e.g. a AJAX call.
idrop.js line 242
-----------------
- if(o.onchange) {
- this.dropCfg.onchange = o.onchange;
+ if(o.onChange) {
+ this.dropCfg.onchange = o.onChange;
But if you like to be consistent wit the Documentation,
the dropCfg.onchange should also get changed to
dorpCfg.onChange. If so, this means the following
lines in isortables should also get changed:
isortables.js line 76:
-------------------
- if (fnc == false && iEL.dropCfg.onchange) {
- fnc = iEL.dropCfg.onchange;
+ if (fnc == false && iEL.dropCfg.onChange) {
+ fnc = iEL.dropCfg.onChange;
Perhaps there are other onchange/onChange issue in other
js files.
Can somebody fix this or is it possible to get write
access to the svn?
Regards
Roger Ineichen
_____________________________
Projekt01 GmbH
www.projekt01.ch
_____________________________
END OF MESSAGE
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/









































    • Topic Participants

    • dev