Issue #157 resolved

TbButton::disabled only affects style, not state

jfragoulis
created an issue

I suggest you add this on line 198 of the TbButton class: {{{

!php

if ($this->disabled && in_array($this->buttonType, array(self::BUTTON_BUTTON, self::BUTTON_SUBMIT, self::BUTTON_RESET, self::BUTTON_AJAXBUTTON, self::BUTTON_AJAXSUBMIT))) $this->htmlOptions['disabled'] = true; }}}

Comments (1)

  1. Log in to comment