diff options
author | Andrew Dolgov <[email protected]> | 2010-11-18 16:44:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-18 16:44:51 +0300 |
commit | 44e05f79e9fb5195f0b4a8dcfb991689dd18698e (patch) | |
tree | 33e0aa3583c6c3ec4a86ddff443a1aaecca1a1e7 /prefs.js | |
parent | e1c619bc240557f6029abdbf1222dc90ffb87fa2 (diff) |
remove scriptaculous inplace editor in feed cats dialog
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 35 |
1 files changed, 3 insertions, 32 deletions
@@ -103,35 +103,6 @@ function init_profile_inline_editor() { } } -function init_cat_inline_editor() { - try { - - if ($("prefFeedCatList")) { - var elems = $("prefFeedCatList").getElementsByTagName("SPAN"); - - for (var i = 0; i < elems.length; i++) { - if (elems[i].id && elems[i].id.match("FCATT-")) { - var cat_id = elems[i].id.replace("FCATT-", ""); - new Ajax.InPlaceEditor(elems[i], - 'backend.php?op=pref-feeds&subop=editCats&action=save&cid=' + cat_id); - } - } - } - - } catch (e) { - exception_error("init_cat_inline_editor", e); - } -} - -function infobox_feed_cat_callback2(transport) { - try { - infobox_callback2(transport); - init_cat_inline_editor(); - } catch (e) { - exception_error("infobox_feed_cat_callback2", e); - } -} - function updateFeedList(sort_key) { try { @@ -254,7 +225,7 @@ function addFeedCat() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - infobox_feed_cat_callback2(transport); + infobox_callback2(transport); } }); link.value = ""; @@ -663,7 +634,7 @@ function removeSelectedFeedCats() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - infobox_feed_cat_callback2(transport); + infobox_callback2(transport); } }); } @@ -1401,7 +1372,7 @@ function editFeedCats() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - infobox_feed_cat_callback2(transport); + infobox_callback2(transport); } }); } catch (e) { exception_error("editFeedCats", e); |