Sys.UI.DomElement.addCssClass(elt, this._targetCssClass);

Apr 10, 2008 at 6:47 PM
This control is great. I did want to report a bug I am having with the following line in the UpdateProgressOverlayBehavior.js file.

The elt object in the _onShow block is set to the UpdateProgress object. It has no CssClass and when the script tries to .addCssClass it blows up.

I changed the clause to the following to fix:

if (this._targetCssClass) {
Sys.UI.DomElement.addCssClass(elt, this._targetCssClass);
}
Coordinator
Jun 11, 2008 at 3:33 AM


wjchristenson2 wrote:
This control is great. I did want to report a bug I am having with the following line in the UpdateProgressOverlayBehavior.js file.

The elt object in the _onShow block is set to the UpdateProgress object. It has no CssClass and when the script tries to .addCssClass it blows up.

I changed the clause to the following to fix:

if (this._targetCssClass) {
Sys.UI.DomElement.addCssClass(elt, this._targetCssClass);
}


Thanks for reporting this. I have updated the code.