Dotclear

source: plugins/importExport/js/script.js @ 3709:c88e69474c34

Revision 3709:c88e69474c34, 373 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

use strict and no more linter warnings/errors as far as possible, switch from inline js to separate loaded file

Line 
1/*global $, dotclear */
2'use strict';
3
4$(function() {
5  if ($('*.error').length > 0) {
6    return;
7  }
8  $('#ie-gui form[method=post]:has(input[type=hidden][name=autosubmit])').each(function() {
9    $('input[type=submit]', this).remove();
10    $(this).after('<p style="font-size:2em;text-align:center">' + dotclear.msg.please_wait + '</p>');
11    $(this).submit();
12  });
13});
Note: See TracBrowser for help on using the repository browser.

Sites map