]> git.wh0rd.org Git - tt-rss.git/commitdiff
opera possible fix for labelTest
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 05:48:17 +0000 (06:48 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 05:48:17 +0000 (06:48 +0100)
backend.php
prefs.js

index a218ff54f3f4441588c0c3c04ad78008632d28b3..114c1d8cd4c9243576fe8aee0ceb057ba924b414 100644 (file)
 
                        print "<div align='right'>";
 
-                       print "<input type=\"submit\" onclick=\"labelTest()\" value=\"Test\">
+                       print "<input type=\"submit\" onclick=\"return labelTest()\" value=\"Test\">
                                ";
 
                        print "<input type=\"submit\" 
index 2dd9761e3cdf7614592e0fb5a2510d87cc2e8078..668f9ce478525e4d05222ccf2bae978a268dd636 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -734,12 +734,12 @@ function labelEditSave() {
 
        if (sql_exp.length == 0) {
                alert("SQL Expression cannot be blank.");
-               return;
+               return false;
        }
 
        if (description.length == 0) {
                alert("Caption field cannot be blank.");
-               return;
+               return false;
        }
 
        closeInfoBox();