diff --git a/botanjs/src/Astro/Blog/Components/ToggleButton/CommentToggle.js b/botanjs/src/Astro/Blog/Components/ToggleButton/CommentToggle.js index 4113a63..890ba9f 100644 --- a/botanjs/src/Astro/Blog/Components/ToggleButton/CommentToggle.js +++ b/botanjs/src/Astro/Blog/Components/ToggleButton/CommentToggle.js @@ -29,31 +29,6 @@ var button = settings[i]; new CommentToggle( button[0], button[1], button[2] ); } - - /* - new ToggleButton("toggle_follow", "/ajax/get-notis", { - "enable": { "action": "enable", "tid": 4, "cid": aid }, - "disable": { "action": "disable", "tid": 4, "cid": aid } - }); - */ - - /* - new ToggleButton("uc_ntoggle", nProcessor, { - enable: { action: "enable", tid: 1, cid: 1645 }, - disable: { action: "disable", tid: 1, cid: 1645 } - }); - - new ToggleButton("toggle_publish", "../../../user/ajax-set_article", { - enable: { draft: 0, article_id: 1645 }, - disable: { draft: 1, article_id: 1645 } - }); - - for(var i in commList) { - new ToggleButton("cr_ntoggle_" + commList[i], nProcessor, { - enable: { action: "enable", tid: 2, cid: commList[i] }, - disable: { action: "disable", tid: 2, cid: commList[i] } - }); - */ } Bootstrap.regInit( init );