2022-01-31 09:10:49 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This file is part of DeltaCMS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (document.referrer.indexOf("edit") === -1)
|
|
|
|
{
|
2022-03-06 13:35:21 +01:00
|
|
|
core.confirm(
|
2022-07-05 08:16:26 +02:00
|
|
|
textConfig,
|
2022-01-31 09:10:49 +01:00
|
|
|
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(); ?>");
|
|
|
|
}
|