Browse Source

Merge pull request 'jQuery 3.5 dans SPIP' (#30) from jquery_35 into master

Aller go pour un jquery à jour, merci @b_b
constantes_typo
rastapopoulos@spip.org 11 months ago
parent
commit
966c5f7281
7 changed files with 929 additions and 533 deletions
  1. +0
    -1
      .gitattributes
  2. +1
    -1
      ecrire/inc/pipelines.php
  3. +1
    -1
      ecrire/inc/pipelines_ecrire.php
  4. +1
    -1
      ecrire/paquet.xml
  5. +169
    -46
      prive/javascript/jquery-migrate-3.2.0.js
  6. +1
    -1
      prive/javascript/jquery.form.js
  7. +756
    -482
      prive/javascript/jquery.js

+ 0
- 1
.gitattributes View File

@ -475,7 +475,6 @@ prive/informer_auteur_fonctions.php -text
prive/javascript/SearchHighlight.js -text
prive/javascript/ajaxCallback.js -text
prive/javascript/gadgets.js -text
prive/javascript/jquery-migrate-3.0.1.js -text
prive/javascript/jquery.autosave.js -text
prive/javascript/jquery.cookie.js -text
prive/javascript/jquery.form.js -text


+ 1
- 1
ecrire/inc/pipelines.php View File

@ -49,7 +49,7 @@ function f_jQuery($texte) {
$jquery_plugins = pipeline('jquery_plugins',
array(
'javascript/jquery.js',
'javascript/jquery-migrate-3.0.1.js',
'javascript/jquery-migrate-3.2.0.js',
'javascript/jquery.form.js',
'javascript/jquery.autosave.js',
'javascript/jquery.placeholder-label.js',


+ 1
- 1
ecrire/inc/pipelines_ecrire.php View File

@ -40,7 +40,7 @@ function f_jQuery_prive($texte) {
$jquery_plugins = pipeline('jquery_plugins',
array(
'prive/javascript/jquery.js',
'prive/javascript/jquery-migrate-3.0.1.js',
'prive/javascript/jquery-migrate-3.2.0.js',
'prive/javascript/jquery.form.js',
'prive/javascript/jquery.autosave.js',
'prive/javascript/jquery.placeholder-label.js',


+ 1
- 1
ecrire/paquet.xml View File

@ -140,7 +140,7 @@
<procure nom="iterateurs" version="1.0.6" />
<procure nom="queue" version="0.6.8" />
<procure nom="jquery" version="3.4.1" />
<procure nom="jquery" version="3.5.1" />
<menu nom="menu_accueil" titre="icone_accueil" icone="images/accueil-48.png" action="accueil" />
<menu nom="menu_edition" titre="icone_edition" icone="images/edition-48.png" action="navigation" parametres="menu=menu_edition" />


prive/javascript/jquery-migrate-3.0.1.js → prive/javascript/jquery-migrate-3.2.0.js View File


+ 1
- 1
prive/javascript/jquery.form.js View File

@ -159,7 +159,7 @@
method = options.method || options.type || this.attr2('method');
action = options.url || this.attr2('action');
url = (typeof action === 'string') ? $.trim(action) : '';
url = (typeof action === 'string') ? action.trim() : '';
url = url || window.location.href || '';
if (url) {
// clean url (don't include hash vaue)


+ 756
- 482
prive/javascript/jquery.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save