Skip to content

Commit eef4b65

Browse files
author
Jens Krumsieck
committed
remove domain name
it may is confusing because the script doesn't use the correct folder if the cms is installed in /cms/, etc.
1 parent dd1a0e8 commit eef4b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/acp/js/CMS.ACP.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CMS.ACP.Page.AddForm = Class.extend({
1313
var $aliasParent = $('#parentID option:selected').data('alias');
1414
var $alias = $('#alias').val();
1515
if ($alias != '') {
16-
$aliasPreview = window.location.origin + '/index.php/';
16+
$aliasPreview = 'index.php/';
1717
if ($aliasParent != '' && typeof $aliasParent !== "undefined") {
1818
$aliasPreview += $aliasParent + '/';
1919
}

0 commit comments

Comments
 (0)