projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67dcea8
)
kivi.Validator: Syntaxfehler
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 13 Oct 2017 15:17:25 +0000
(17:17 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 13 Oct 2017 15:17:25 +0000
(17:17 +0200)
js/kivi.Validator.js
patch
|
blob
|
history
diff --git
a/js/kivi.Validator.js
b/js/kivi.Validator.js
index
af11425
..
b1bc87c
100644
(file)
--- a/
js/kivi.Validator.js
+++ b/
js/kivi.Validator.js
@@
-86,7
+86,7
@@
namespace("kivi.Validator", function(ns) {
var parsed_date = kivi.parse_date(date_string);
- if (parsed_
number
=== null) {
+ if (parsed_
date
=== null) {
$e.val('');
ns.annotate($e);
return true;