if(!this.getSignature()){
return;
}
+
this.signPanel.select('#'+ this.svgID + '-svg-r', true).first().attr('fill', '#cfc');
this.setValue(this.getSignature());
this.isConfirmed = true;
- Roo.log('in confirm clicked');
-//
-// var valid = true;
-// this.items.each(function(f){
-// if(!f.isValid(true)){
-// valid = false;
-// return false;
-// }
-// });
-// for(var i = 0, len = this.buttons.length; i < len; i++){
-// var btn = this.buttons[i];
-// if(btn.formBind === true && btn.disabled === valid){
-// btn.setDisabled(!valid);
-// }
-// }
this.fireEvent('confirm', this);
},
// private