diff options
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | js/istreamdev.js | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -175,7 +175,7 @@ include ('bin/auth.php'); <a href="#home" id="home_but" class="button slideup">Home</a> <h1></h1> </div> - <form name="timer" id="timer" onsubmit="checktimerform();"> + <form name="timer" id="timer" action="#"> <ul class="rounded"> <li><span class="timertitle">Active</span><span class="toggle"><input id="timer_active" name="timer_active" type="checkbox" /></span></li> </ul> diff --git a/js/istreamdev.js b/js/istreamdev.js index 7f22e4a..16bc9dc 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -910,7 +910,6 @@ $('.submit_form').tap(function(event) { });
function checktimerform() {
-
$('.formerror').hide();
var timer_name = $("input#timer_name").val();
if (timer_name == "") {
@@ -947,7 +946,6 @@ function checktimerform() { gen_timers("true");
json_start(this);
showStatus( 0,message );
- return false;
});
return false;
};
|