onclick event working on disabled buttons

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
MLC601
Profound User
Posts: 32
Joined: Mon Oct 10, 2011 9:30 am
First Name: Mark
Last Name: Chastant
Company Name: Jano Justice Systems, INC
Phone: 601-927-4428
Contact:

onclick event working on disabled buttons

Post by MLC601 »

We've got a display with a couple of disabled buttons. These buttons are not bound to any variable and have no shortcut key assigned, but they do have onclick events defined.

In IE 9, the buttons show grayed out, but the onclick event still functions when the buttons are clicked.

In Firefox ver 22 and Chrome ver 28.0.1500.71 m, the buttons are not grayed out and also function as if they weren't disabled.

Any help will be appreciated.

Thanks,

Mark
MLC601
Profound User
Posts: 32
Joined: Mon Oct 10, 2011 9:30 am
First Name: Mark
Last Name: Chastant
Company Name: Jano Justice Systems, INC
Phone: 601-927-4428
Contact:

Re: onclick event working on disabled buttons

Post by MLC601 »

We're running Profound UI Version 4.6.2

Mark
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: onclick event working on disabled buttons

Post by Scott Klement »

I just coded up a quick test, and could not reproduce the problem. The onclick event did not fire for me when the button was disabled.

Can you send me a JSON screenshot? You do this by pressing Ctrl-F9, it will save the screen data (the data that it gets from the server in order to build the screen) to a file named json.txt on your PC. Can you e-mail that to me at support@profoundlogic.com?

This should allow me to see the same problem you're seeing.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests