Skip to content

Commit

Permalink
[JENKINS-34329] Use value and type comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
armfergom committed Apr 19, 2016
1 parent 3a743bc commit 1ac82bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -64,7 +64,7 @@
function updateSave(form) {
function state() {
return ($('name').value.length == 0);
return ($('name').value.length === 0);
}
saveButton.set('disabled', state(), false);
Expand Down
Expand Up @@ -56,7 +56,7 @@
function updateOk(form) {
function state() {
return ($('name').value.length == 0);
return ($('name').value.length === 0);
}
okButton.set('disabled', state(), false);
Expand Down

0 comments on commit 1ac82bc

Please sign in to comment.