Revision 2857:3c827bdd6879,
292 bytes
checked in by Nicolas <nikrou77@…>, 11 years ago
(diff) |
Add sibbling tags for context in comment page.
Fix way to test jsToolBar is defined
Addresses #2011
|
Line | |
---|
1 | $(function() { |
---|
2 | if (typeof(jsToolBar)!==undefined) { |
---|
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.