Revision 3706:170617361020,
323 bytes
checked in by franck <carnet.franck.paul@…>, 7 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 | $('form input[type=submit][name=b_del]').click(function() { |
---|
6 | return window.confirm(dotclear.msg.confirm_delete_backup); |
---|
7 | }); |
---|
8 | $('form input[type=submit][name=b_revert]').click(function() { |
---|
9 | return window.confirm(dotclear.msg.confirm_revert_backup); |
---|
10 | }); |
---|
11 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.