From 0d083af4bf34db2779be4138ef5297b6e7265811 Mon Sep 17 00:00:00 2001 From: chrqls Date: Fri, 13 Jun 2014 17:27:43 +0200 Subject: [PATCH] [#39] I reduce the timer blockUI from 7s to 3s: it was really too long... --- static/js/smilestudent.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/smilestudent.js b/static/js/smilestudent.js index 02bd2b4..954d61c 100644 --- a/static/js/smilestudent.js +++ b/static/js/smilestudent.js @@ -257,10 +257,10 @@ GlobalViewModel.doSubmitQ = function() { } else { console.log("Cannot validateInquiry"); $('div#inquiry-form-area').block({ - message: '

Please fill in all fields and check correct answer

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

Please fill in all fields and check correct answer

', - css: { border: '3px solid #a00', width: '30%' + message: '
Please fill in all fields and check correct answer
', + css: { border: '3px solid #a00', width: '50%' }, - timeout: 7000 + timeout: 3000 }); } }