PDA

View Full Version : bug in button.disable() ?



bone
20 Feb 2007, 6:20 AM
I'm getting some strange behavior when I try to disable a button in a dialog (i think this goes for all buttons tho).

The button stops working (click and hover), which is good. But neither the 'cursor: default' or 'color: gray' seems to be working. When inspecting the css in the beloved FireBug I see that x-btn-disabled sets the cursor to default, but is later overriden by x-btn-center on this.

"color: gray" however, never seems to happen.

I see its in the .css but I am no master of such sheets so I'm throwing the ball to whoever might help me.

In short: disabling a button in my dialog does not 'gray'ify it nor does it change the cursor when hovering.

Thank you in advance.

jack.slocum
20 Feb 2007, 6:56 AM
This is fixed in my code. I will be deploying a new zip shortly.

bone
20 Feb 2007, 7:07 AM
thank you :)

(also check why "l.fireFn has no properties" when data.store.removeAll() ? :D )

jack.slocum
20 Feb 2007, 7:54 AM
Grab the zip, I just fixed it and deployed.