« Utilisateur:Daniel/common.js » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 121 : | Ligne 121 : | ||
if(feuVertTitre && feuVertCategorie) { | if(feuVertTitre && feuVertCategorie) { | ||
lienAppelCreation = encodeURI (titreProposed + "?action=edit§ion=new&preload=Modèle:" + categorieChoisie); | lienAppelCreation = encodeURI (titreProposed + "?action=edit§ion=new&preload=Modèle:" + categorieChoisie); | ||
alert (window.location); | |||
alert (window.location.hostname); | alert (window.location.hostname); | ||
alert (window.location.pathname); | alert (window.location.pathname); | ||
alert ( | |||
alert (lienAppelCreation); | |||
// Réinitialisation au cas où on utiliserait le bouton retour du navigateur | // Réinitialisation au cas où on utiliserait le bouton retour du navigateur | ||