diff options
author | Andrew Dolgov <[email protected]> | 2006-01-05 17:00:01 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-01-05 17:00:01 +0100 |
commit | b0da3a7b0c0611c592e098150077495cfdc2e63e (patch) | |
tree | 1bf9df72e37a1d537923c70a6b7e03bf31942c07 | |
parent | a132b8b15f7aa4993b1b686b3b4e433a0a3276d0 (diff) |
rename variable in feedEditSave (closes #28)
-rw-r--r-- | prefs.js | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -699,7 +699,11 @@ function feedEditSave() { var purge_intl = document.getElementById("iedit_purgintl").value; var fcat = document.getElementById("iedit_fcat"); - var private = document.getElementById("iedit_private").checked; + var is_pvt = document.getElementById("iedit_is_pvt"); + + if (is_pvt) { + is_pvt = is_pvt.checked; + } var fcat_id = 0; @@ -732,16 +736,16 @@ function feedEditSave() { "&ui=" + param_escape(upd_intl) + "&pi=" + param_escape(purge_intl) + "&catid=" + param_escape(fcat_id) + "&login=" + param_escape(auth_login) + "&pfeed=" + param_escape(parent_feed_id) + "&pass=" + param_escape(auth_pass) + - "&private=" + param_escape(private); + "&is_pvt=" + param_escape(is_pvt); xmlhttp.open("POST", "backend.php", true); xmlhttp.onreadystatechange=feedlist_callback; xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); - xmlhttp.send(query); + xmlhttp.send(query); } catch (e) { exception_error("feedEditSave", e); - } + } } function feedCatEditSave() { |