diff options
author | Alib <aliboba@free.fr> | 2010-03-24 12:41:17 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-24 12:41:17 +0100 |
commit | 119ba65e5436128d3ee68cc1679c133b2b854a6f (patch) | |
tree | e7cf3ed614b1591ebee54ee2382365b39139509f | |
parent | f6c5b0f753bff20165dd022e9d8538ad2067459f (diff) | |
download | istreamdev-119ba65e5436128d3ee68cc1679c133b2b854a6f.tar.gz istreamdev-119ba65e5436128d3ee68cc1679c133b2b854a6f.tar.bz2 |
corrected bug with text input submission
-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;
};
|