mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1aff9ad162
commit
9308c0590d
9
wiki.js
9
wiki.js
@ -901,7 +901,7 @@ var Wiki = {
|
||||
|
||||
var l = this.location
|
||||
|
||||
if(value == l){
|
||||
if(value == l || value == ''){
|
||||
return
|
||||
}
|
||||
|
||||
@ -1021,7 +1021,12 @@ var Wiki = {
|
||||
get title(){
|
||||
return path2lst(this.path).pop() },
|
||||
set title(value){
|
||||
this.path = this.dir +'/'+ value },
|
||||
if(value == '' || value == null){
|
||||
return
|
||||
}
|
||||
|
||||
this.path = this.dir +'/'+ value
|
||||
},
|
||||
|
||||
|
||||
// page content...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user