neyric/wireit — Issue #59: ajax.js incorrect isFunction call
Author: Christian-B
Created: 2011-10-11 09:08:30+00:00
State: open

In the class ajax.js
Lines 87 to 93
if( YAHOO.lang.isFunction(this.config[action].url) ) {
method = this.config[action].method(value);
}
else {
method = this.config[action].method;
}

====
Should be
====
if( YAHOO.lang.isFunction(this.config[action].method) ) {
method = this.config[action].method(value);
}
else {
method = this.config[action].method;
}
====
This because it is likely that url is a function to add the tempSaceWiring (from WiringEditor) on to the url
While the mthod remains static.
Th