Forums Help/Bug

Object doesn't support this property or method

Subscribe to Object doesn't support this property or method 1 post, 1 voice

 
Avatar Syrrius 9 post(s)

Hi all,

I’m using Dialog.info on IE6/7
”””
Dialog.info(“test test”, {showEffect: Element.show, hideEffect: Element.hide, className: “alphacube”, zIndex: 2000, width: 650, height: 150, showProgress: true, destroyOnClose: true});
””“

When I close to fast my Dialog box (not visible yet), an error occure “Object doesn’t support this proterty or method”
(In “prototype.js”, function “offsetParent: function(element)” : “element.offsetParent” ).

The error occure because all the objects aren’t created when the destroy function is called.

In Windows.js, a lot of “setTimeout” are used (asynchronous function). Are they really useful ?
If yes, is there a way to know when the Dialog box is loaded ?

A synchronouse way to open / close a Dialog box would be great, even if we uses effects or not.

Thanks in advance.
Best regards.

Forums Help/Bug