Permalink
Browse files

Another dot

  • Loading branch information...
1 parent 938ed80 commit 2f97d94792aed39f702a09d7b55d0a0d04d814ef @mitsuhiko mitsuhiko committed Jan 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/script.js
View
@@ -44,7 +44,7 @@ function makeFeedbackBox(feedback) {
return false;
}
if (this.version.value.length > 0 &&
- !this.version.value.match(/^((\d{1,5}\.\d{1,5})|(dev))$/)) {
+ !this.version.value.match(/^((\d{1,5}\.\d{1,5}(\.\d{1,3})?)|(dev))$/)) {
showFormError('Malformed version. Use Major.Minor or dev');
return false;
}

0 comments on commit 2f97d94

Please sign in to comment.