Skip to content

Commit

Permalink
[RazortoothRTC#39] I reduce the timer blockUI from 7s to 3s: it was r…
Browse files Browse the repository at this point in the history
…eally too long...
  • Loading branch information
chrqls committed Jun 13, 2014
1 parent 5172cbf commit 0d083af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/js/smilestudent.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ GlobalViewModel.doSubmitQ = function() {
} else {
console.log("Cannot validateInquiry");
$('div#inquiry-form-area').block({
message: '<h3>Please fill in all fields and check correct answer</h3>',
css: { border: '3px solid #a00', width: '30%'
message: '<h5>Please fill in all fields and check correct answer</h5>',
css: { border: '3px solid #a00', width: '50%'
},
timeout: 7000
timeout: 3000
});
}

Expand Down Expand Up @@ -288,10 +288,10 @@ GlobalViewModel.doSubmitQandDone = function() {
// XXX Refactoring candidate
console.log("Cannot validateInquiry");
$('div#inquiry-form-area').block({
message: '<h3>Please fill in all fields and check correct answer</h3>',
css: { border: '3px solid #a00', width: '30%'
message: '<h5>Please fill in all fields and check correct answer</h5>',
css: { border: '3px solid #a00', width: '50%'
},
timeout: 7000
timeout: 3000
});
}
}
Expand Down

0 comments on commit 0d083af

Please sign in to comment.