if (new_link) {
link.href = new_link.firstChild.nodeValue;
- link.innerHTML = new_link.firstChild.nodeValue;
+ //link.innerHTML = new_link.firstChild.nodeValue;
new Effect.Highlight(link);
- notify_info("Address changed.");
+ notify_info("Published feed URL changed.");
} else {
- notify_error("Could not change address.");
+ notify_error("Could not change feed URL.");
}
} else {
- notify_error("Could not change address.");
+ notify_error("Could not change feed URL.");
}
} catch (e) {
exception_error("replace_pubkey_callback", e);
return false;
}
-
-
-function displayHelpInfobox(topic_id) {
-
- var url = "backend.php?op=help&tid=" + param_escape(topic_id);
-
- var w = window.open(url, "ttrss_help",
- "status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
-
- return false;
-}
-
function labelEditCancel() {
if (!xmlhttp_ready(xmlhttp)) {
return false;
}
+function pubToClipboard() {
+
+ try {
+
+ if (!xmlhttp_ready(xmlhttp)) {
+ printLockingError();
+ return false;
+ }
+
+ var link = document.getElementById("pubGenAddress");
+ alert(link.href);
+
+ } catch (e) {
+ exception_error("pubToClipboard", e);
+ }
+
+ return false;
+}
+
function validatePrefsSave() {
try {