Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363667

Summary: [RBD] HTML widget: Disabled property does not work in FF, chrome
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Project Inbox <edt.widgets-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
disable in FF none

Description Thomas Wu CLA 2011-11-13 22:25:25 EST
Build Identifier: 20111113

There is the same issue in RBD.
Set the disabled property for HTML widget, but the onClick event could still be triggered.

Reproducible: Always

Steps to Reproduce:
1.DD a HTML widget.
2.Set the disabled property of HTML as true.
3.Write the following code into onClick function of HTML.
syslib.writeStdout("on click event!");
4.Open the handler within FF or Chrome browsers, then try to click HTML widget.

Actual results: The onClick event could still be triggered. 
Note: There is no such issue in IE, the event will be prevent.
Comment 1 Thomas Wu CLA 2011-11-13 22:26:45 EST
Created attachment 206909 [details]
disable in FF