Dotclear

source: plugins/importExport/js/script.js @ 3993:c402c96de044

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

Line 
1/*global $, dotclear, getData */
2'use strict';
3
4Object.assign(dotclear.msg, getData('ie_msg'));
5
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.

Sites map