Skip to content

Commit

Permalink
use node_id only when selected target page
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertlaposa committed Dec 4, 2017
1 parent 8d9282e commit 156a14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/bo/node/page/symbolic.html
Expand Up @@ -27,7 +27,7 @@ <h1 class="page-title popup"><span>Alias (Redirect) Page</span> <span class="inf
autoclose: true,
afterClick:function(node){
var node_id = $('a:first', node).attr('href').match("[0-9]{1,}$");
$('#component-href').attr('value', '/page/' + node_id);
$('#component-href').attr('value', node_id);
},
animate: true,
docToFolderConvert: true
Expand All @@ -39,7 +39,7 @@ <h1 class="page-title popup"><span>Alias (Redirect) Page</span> <span class="inf
</script>
<fieldset class="symbolic-form-edit">
<div class="row href">
<label>Forward Link: *</label>
<label>Forward link or target page ID: *</label>
<input type="text" name="node[component][href]" id="component-href" value="{NODE.component.href}" /> <a class="button" href="#"><span>Browse Server</span></a>
<div id="href-select"></div>
</div>
Expand Down

0 comments on commit 156a14b

Please sign in to comment.