Roo/form/Signature.js
authorChris <chris@roojs.com>
Wed, 9 Oct 2013 10:40:36 +0000 (18:40 +0800)
committerChris <chris@roojs.com>
Wed, 9 Oct 2013 10:40:36 +0000 (18:40 +0800)
Roo/form/Signature.js

index e8a1dab..8b3ea55 100644 (file)
@@ -285,6 +285,10 @@ Roo.extend(Roo.form.Signature, Roo.form.Field,  {
     // private
     // Subclasses should provide the validation implementation by overriding this
     validateValue : function(value){
+        if(this.allowBlank){
+            return true;
+        }
+        
         if(this.isConfirmed){
             return true;
         }