summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-29 04:23:14 +0100
committerAndrew Dolgov <[email protected]>2006-09-29 04:23:14 +0100
commit7bc4f2517f6bf771ed937f37df73689867dbac98 (patch)
treeb5efbcc59187bb8ff21147c5c5c55f8f3a8ec30f
parent0e9dd1baf733dee2408108f560a7af9acbf93506 (diff)
opera compatibility fixes (2)
-rw-r--r--backend.php5
-rw-r--r--functions.js2
-rw-r--r--tt-rss.js2
3 files changed, 6 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index 75891208d..656d88dfa 100644
--- a/backend.php
+++ b/backend.php
@@ -2688,11 +2688,10 @@
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") {
diff --git a/functions.js b/functions.js
index 76a443d9d..2f7774b90 100644
--- a/functions.js
+++ b/functions.js
@@ -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)
diff --git a/tt-rss.js b/tt-rss.js
index 87b5be1be..c85dd09fd 100644
--- 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;
}