summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-24 12:41:17 +0100
committerAlib <aliboba@free.fr>2010-03-24 12:41:17 +0100
commit119ba65e5436128d3ee68cc1679c133b2b854a6f (patch)
treee7cf3ed614b1591ebee54ee2382365b39139509f
parentf6c5b0f753bff20165dd022e9d8538ad2067459f (diff)
downloadistreamdev-119ba65e5436128d3ee68cc1679c133b2b854a6f.tar.gz
istreamdev-119ba65e5436128d3ee68cc1679c133b2b854a6f.tar.bz2
corrected bug with text input submission
-rw-r--r--index.php2
-rw-r--r--js/istreamdev.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/index.php b/index.php
index 08ef1b0..2ff5236 100644
--- a/index.php
+++ b/index.php
@@ -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;
};