Revision 3706:170617361020,
286 bytes
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
use strict and no more linter warnings/errors as far as possible
|
Line | |
---|
1 | /*global $, dotclear */ |
---|
2 | 'use strict'; |
---|
3 | |
---|
4 | $(function() { |
---|
5 | $('table.plugins form input[type=submit][name=delete]').click(function() { |
---|
6 | var l_name = $(this).parents('tr.line').find('td:first').text(); |
---|
7 | return window.confirm(dotclear.msg.confirm_delete_lang.replace('%s',l_name)); |
---|
8 | }); |
---|
9 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.