Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
717a89d8b4
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ function toggleVisibility() {
|
|||
span.style.display ='none';
|
||||
document.getElementById('new_name').value = "<%= escape_javascript(@page.name) %>";
|
||||
var content = document.getElementById('content').value
|
||||
document.getElementById('content').value = content.replace(/\[\[!redirects <%= Regexp.escape(@page.name) %>\]\]\n/, '')
|
||||
document.getElementById('content').value = content.replace(/\[\[!redirects <%= Regexp.escape(@page.name).gsub('/', '\\/') %>\]\]\n/, '')
|
||||
}
|
||||
else
|
||||
span.style.display ='inline'
|
||||
|
|
Loading…
Reference in a new issue