Roo/form/Checkbox.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 09:54:14 +0000 (17:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 09:54:14 +0000 (17:54 +0800)
Roo/form/Checkbox.js

index ab5d3fc..327af1c 100644 (file)
@@ -184,7 +184,7 @@ Roo.extend(Roo.form.Checkbox, Roo.form.Field,  {
         }
         this.checked = state;
         if(suppressEvent !== true){
-            this.fireEvent('checkchange', this, state);
+            this.fireEvent('check', this, state);
         }
         this.inSetChecked = true;
         this.el.dom.value = state ? this.inputValue : this.valueOff;