AstroJS/botanjs/src/Astro/Blog/Components/ToggleButton/CommentToggle.js
2015-08-14 21:06:23 +08:00

28 lines
776 B
JavaScript

/*
(function(){
var ns = __namespace( "Astro.Blog.Components.ToggleButton.CommentToggle" );
new ToggleButton('toggle_follow', nProcessor, {
enable: { action: 'enable', tid: 3, cid: 1 },
disable: { action: 'disable', tid: 3, cid: 1 }
});
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] }
});
})();
//*/