Login Register

disconnect

Bug in dojo.disconnect (dojo.js)

The dojo.disconnect - function has one little bug:

it needs an additional check in the if-expression: dojo.isArray(handle).

if(handle && dojo.isArray(handle) && handle[0] !== undefined).....
-------------------
it would be very nice, if You fix it in the public version:)

dojo.disconnect = function(/*Handle*/ handle){
// summary:
// Remove a link created by dojo.connect.
// description:
// Removes the connection between event and the method referenced by handle.
// handle:

Syndicate content