ajout un env pour cacher le selecteur de slug : cacher_selecteur_slug
This commit is contained in:
parent
0ade34cf32
commit
64ac966c62
1 changed files with 4 additions and 6 deletions
|
@ -26,14 +26,14 @@
|
|||
<h3><:gamumail:choix_slug:></h3>
|
||||
<select id="choix_slug" name="choix_slug">
|
||||
<option value=""[ (#ENV{slug}|non) selected]><:gamumail:choisissez_un_modele:></option>
|
||||
<BOUCLE_slugs(GAMUMAILS){statut=publie}{par titre}{public!=non}>
|
||||
<BOUCLE_slugs(GAMUMAILS){statut=publie}{par titre}{public!=non}{si #ENV{cacher_selecteur_slug}|non}>
|
||||
<option value="#SLUG"[ (#SLUG|=={#ENV{slug}}|oui) selected]>#TITRE</option>
|
||||
</BOUCLE_slugs>
|
||||
</select>
|
||||
</div>
|
||||
</B_slugs>
|
||||
<div class="bloc_slug" id="bloc_slug">
|
||||
<INCLURE{fond=inclure/vue_slug, env, ajax=vue_slug}>
|
||||
<INCLURE{fond=inclure/vue_slug,env,dest=#ENV{dest},ajax=vue_slug}>
|
||||
</div>
|
||||
<INCLURE{fond=gamumail/remplacements_slugs}>
|
||||
</div>
|
||||
|
@ -43,11 +43,9 @@
|
|||
var choix_slug = $(this).val();
|
||||
ajaxReload('vue_slug', {
|
||||
args:{
|
||||
slug : choix_slug,
|
||||
dest : "#ENV{dest}"
|
||||
slug : choix_slug
|
||||
}
|
||||
//, callback: function(){}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue