summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 743eee0..7f22e4a 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -910,11 +910,12 @@ $('.submit_form').tap(function(event) {
});
function checktimerform() {
+
$('.formerror').hide();
var timer_name = $("input#timer_name").val();
- if (timer_name == "") {
- $("li#timer_name_error").show();
- $.scrollTo('#edittimer #ul[rel="name"]');
+ if (timer_name == "") {
+ $.scrollTo('#edittimer .toolbar', 400, {easing:'swing'});
+ $("li#timer_name_error").show();
return false;
}
var timer_date = $("input#timer_date").val();