plus de message dans la redirection

This commit is contained in:
fredtempez 2019-02-20 01:20:26 +01:00
parent 0f8778dc1b
commit e0fa280de9
1 changed files with 1 additions and 16 deletions

View File

@ -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); ?>';