Created a custom class for the adding an item in the user log grid

This commit is contained in:
Edwin Perez
2013-10-19 12:20:48 -04:00
parent cfeb6fd1d2
commit 62310e7a25
5 changed files with 101 additions and 24 deletions
@@ -0,0 +1,21 @@
{
initComponent: function(){
// calling superclass's initComponent
this.callParent();
var panel = this;
var theForm = this.getForm();
console.log(theForm);
var hoursInput = Ext.getCmp('user_logs_add_form_hours');
console.log(hoursInput);
hoursInput.on('change', function(e){
console.log('I am changing');
});
}
}