Revision 3993:c402c96de044,
716 bytes
checked in by franck <carnet.franck.paul@…>, 6 years ago
(diff) |
Switching from inline JS variables to JSON script, import/export plugin
|
Line | |
---|
1 | /*global $, dotclear, getData */ |
---|
2 | 'use strict'; |
---|
3 | |
---|
4 | Object.assign(dotclear.msg, getData('ie_import_flat_msg')); |
---|
5 | |
---|
6 | $(function() { |
---|
7 | $('#up_single_file').change(function() { |
---|
8 | if (this.value != '') { |
---|
9 | $('#public_single_file').val(''); |
---|
10 | } |
---|
11 | }); |
---|
12 | $('#public_single_file').change(function() { |
---|
13 | if (this.value != '') { |
---|
14 | $('#up_single_file').val(''); |
---|
15 | } |
---|
16 | }); |
---|
17 | $('#up_full_file').change(function() { |
---|
18 | if (this.value != '') { |
---|
19 | $('#public_full_file').val(''); |
---|
20 | } |
---|
21 | }); |
---|
22 | $('#public_full_file').change(function() { |
---|
23 | if (this.value != '') { |
---|
24 | $('#up_full_file').val(''); |
---|
25 | } |
---|
26 | }); |
---|
27 | $('#formfull').submit(function() { |
---|
28 | return window.confirm(dotclear.msg.confirm_full_import); |
---|
29 | }); |
---|
30 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.