bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-04 16:51:20 +03:00
parent 1aff9ad162
commit 9308c0590d

View File

@ -901,7 +901,7 @@ var Wiki = {
var l = this.location var l = this.location
if(value == l){ if(value == l || value == ''){
return return
} }
@ -1021,7 +1021,12 @@ var Wiki = {
get title(){ get title(){
return path2lst(this.path).pop() }, return path2lst(this.path).pop() },
set title(value){ set title(value){
this.path = this.dir +'/'+ value }, if(value == '' || value == null){
return
}
this.path = this.dir +'/'+ value
},
// page content... // page content...