]> git.wh0rd.org - tt-rss.git/commitdiff
opera compatibility fixes (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 29 Sep 2006 03:23:14 +0000 (04:23 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 29 Sep 2006 03:23:14 +0000 (04:23 +0100)
backend.php
functions.js
tt-rss.js

index 75891208db673a2e4881040531381b91e4be42e7..656d88dfaccc815368cf7baba8d8f77f89faae01 100644 (file)
                        print "<div align='right'>
                                <input class=\"button\"
                                        id=\"fadd_submit_btn\" disabled=\"true\"
-                                       type=\"submit\" onclick=\"javascript:qafAdd()\" value=\"Subscribe\">
+                                       type=\"submit\" onclick=\"return qafAdd()\" value=\"Subscribe\">
                                <input class=\"button\"
-                                       type=\"submit\" onclick=\"javascript:closeInfoBox()\" 
+                                       type=\"submit\" onclick=\"return closeInfoBox()\" 
                                        value=\"Cancel\"></div>";
-
                }
 
                if ($id == "search") {
index 76a443d9de9470308df737dc92293742bc452fab..2f7774b902e68a919dc6846dbbd7c626ee3a5ddc 100644 (file)
@@ -1268,6 +1268,8 @@ function qafAdd() {
        xmlhttp.open("GET", "backend.php?" + query, true);
        xmlhttp.onreadystatechange=dlg_frefresh_callback;
        xmlhttp.send(null);
+
+       return false;
 }
 
 function filterCR(e)
index 87b5be1becd257b36bb27c94e4fb01b12c9ff50d..c85dd09fd3a85d373f4560cca36e7a7894a28661 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -478,6 +478,8 @@ function qfdDelete(feed_id) {
        xmlhttp.open("GET", "backend.php?op=pref-feeds&quiet=1&subop=remove&ids=" + feed_id);
        xmlhttp.onreadystatechange=dlg_frefresh_callback;
        xmlhttp.send(null);
+
+       return false;
 }