forked from ZwiiCMS-Team/ZwiiCMS
plus de message dans la redirection
This commit is contained in:
parent
0f8778dc1b
commit
e0fa280de9
@ -13,19 +13,4 @@
|
||||
*
|
||||
**/
|
||||
|
||||
if (document.referrer.indexOf("edit") === -1)
|
||||
{
|
||||
core.confirm(
|
||||
"OUI pour accéder à l\'écran d'édition du module - NON pour tester le lien saisi.",
|
||||
function() {
|
||||
$(location).attr("href", "<?php echo helper::baseUrl(); ?>page/edit/<?php echo $this->getUrl(0); ?>");
|
||||
},
|
||||
function() {
|
||||
$(location).attr("href", "<?php echo helper::baseUrl() . $this->getUrl(); ?>/force");
|
||||
}
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
$(location).attr("href", "<?php echo helper::baseUrl(); ?>");
|
||||
}
|
||||
self.location='<?php echo helper::baseUrl(); ?>page/edit/<?php echo $this->getUrl(0); ?>';
|
||||
|
Loading…
Reference in New Issue
Block a user