commit | c59f7327b7eaadc0857c2fe9ad0fb1c222ddb58b | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Apr 20 13:46:05 2016 +0200 |
committer | Akron <nils@diewald-online.de> | Wed Apr 20 13:46:05 2016 +0200 |
tree | d48ae61dc95f4d52dff8c3df8563a34b82b4eaf4 | |
parent | 56ea7e37c0910973229638b194e6dd3a4e55f458 [diff] |
Add string function to date picker
diff --git a/dev/js/src/vc/doc.js b/dev/js/src/vc/doc.js index 72bdeee..f22f3b4 100644 --- a/dev/js/src/vc/doc.js +++ b/dev/js/src/vc/doc.js
@@ -451,10 +451,15 @@ ); dpElem.focus(); + /* dpElem.addEventListener('blur', function (e) { + e.halt(); + // Remove datepicker + // TODO: If focus is not set to string input that._element.removeChild(this); }); + */ } else { var regex = this.type() === 'regex' ? true : false;