fixed wrong attachment base in the wiki editing page
This commit is contained in:
parent
e37a418985
commit
ec72e4f8d8
@ -12,7 +12,9 @@
|
||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||
|
||||
|
||||
<?php
|
||||
$hexname = $this->converter->AsciiToHex ($wiki->name);
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@ -22,7 +24,7 @@ function render_wiki(input_text)
|
||||
input_text,
|
||||
"wiki_edit_mainarea_text_preview",
|
||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
||||
"<?=site_url()?>/wiki/attachment/<?=$project->id?>/<?=$hexname?>/"
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user