Revision 2614:db6f6a1f4f25,
288 bytes
checked in by Nicolas <nikrou77@…>, 12 years ago
(diff) |
Move legacy editor to a plugin. First step for alternate editors.
Addresses #1896
|
Line | |
---|
1 | $(function() { |
---|
2 | if ($.isFunction('jsToolBar')) { |
---|
3 | var tbComment = new jsToolBar(document.getElementById('comment_content')); |
---|
4 | tbComment.draw('xhtml'); |
---|
5 | } |
---|
6 | |
---|
7 | $('#comment-form input[name="delete"]').click(function() { |
---|
8 | return window.confirm(dotclear.msg.confirm_delete_comment); |
---|
9 | }); |
---|
10 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.