bug in button.disable() ? - Ext JS

用户在尝试禁用对话框中的按钮时遇到问题,按钮无法正常禁用显示为灰色且光标样式未改变。尽管按钮的功能已成功禁用,但外观上的变化未能生效。
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.
Reply With Quote
  #2  
Old 02-20-2007, 08:56 AM
Default

This is fixed in my code. I will be deploying a new zip shortly.
Reply With Quote
  #3  
Old 02-20-2007, 09:07 AM
Default

thank you

(also check why "l.fireFn has no properties" when data.store.removeAll() ? )
Reply With Quote
  #4  
Old 02-20-2007, 09:54 AM
Default

Grab the zip, I just fixed it and deployed.
Reply With Quote
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值