Revision 3993:c402c96de044,
431 bytes
checked in by franck <carnet.franck.paul@…>, 6 years ago
(diff) |
Switching from inline JS variables to JSON script, import/export plugin
|
Rev | Line | |
---|
[3993] | 1 | /*global $, dotclear, getData */ |
---|
[3709] | 2 | 'use strict'; |
---|
[840] | 3 | |
---|
[3993] | 4 | Object.assign(dotclear.msg, getData('ie_msg')); |
---|
| 5 | |
---|
[3709] | 6 | $(function() { |
---|
| 7 | if ($('*.error').length > 0) { |
---|
| 8 | return; |
---|
| 9 | } |
---|
| 10 | $('#ie-gui form[method=post]:has(input[type=hidden][name=autosubmit])').each(function() { |
---|
| 11 | $('input[type=submit]', this).remove(); |
---|
| 12 | $(this).after('<p style="font-size:2em;text-align:center">' + dotclear.msg.please_wait + '</p>'); |
---|
| 13 | $(this).submit(); |
---|
| 14 | }); |
---|
| 15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.