[Chameleon-dev] [Bug 1034] New: cwc_button.js: suppress alert and
add null check
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Mon May 16 07:20:00 EDT 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=1034
Summary: cwc_button.js: suppress alert and add null check
Product: Chameleon
Version: 2.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
The alert is not useful for users and only comes into play when using a widget
with the visible attribute set to false (this can be quite useful when wanting
to use javascript code generated by the widget).
So I propose removing the alert.
else
{
//alert( "image object for " + this.szImageName + " not found?" );
}
Another null check needs to be added for everything to work again since there
are now buttons in the application without images:
function CWCButton_SetState( nState )
{
if (!this.oImage) return false;
...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list