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
|
Rev | Line | |
---|
[0] | 1 | $(function() { |
---|
[2614] | 2 | if ($.isFunction('jsToolBar')) { |
---|
| 3 | var tbComment = new jsToolBar(document.getElementById('comment_content')); |
---|
| 4 | tbComment.draw('xhtml'); |
---|
| 5 | } |
---|
[2566] | 6 | |
---|
[0] | 7 | $('#comment-form input[name="delete"]').click(function() { |
---|
| 8 | return window.confirm(dotclear.msg.confirm_delete_comment); |
---|
| 9 | }); |
---|
[2566] | 10 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.