Login Register

_Widget

Node has no properties

Hello,

I have made a new widget to house 2 DateTextBox widgets. Everything seems fine but I'm receiving an error "Node has no properties" from Dojo.js

Any help would be appreciated, I haven't been able to find any mention of that error that pertains to my case. I'm sure I've got something set up improperly, I just haven't been able to find it yet.

Test file: test_DateRangePicker.html

Bug in _Widget.destroy() or wrong usage?

Hi,

when I call _Widget.destroy on my Widget I get an error. Telling me that dojo.disconnect() is expecting an array.
Wich I think is right because it expects a handle and a handle is an array.

In the destroy function disconnect is called like this:

dojo.forEach(this._connects, function(array){
                        dojo.forEach(array, dojo.disconnect);
                });

As I see it, there is one forEach too much. Disconnect() is called with the elements of the handle array.

Or am I missing something. So strange that nobody discovered this earlier.

Syndicate content