mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8fd14e4c38
commit
a635f18b6b
@ -390,6 +390,9 @@ object.Constructor('BasePage', {
|
||||
|
||||
|
||||
delete: async function(path='.', base=true){
|
||||
if(path === true || path === false){
|
||||
base = path
|
||||
path = '.' }
|
||||
var page = this.get(path)
|
||||
if(page.isPattern){
|
||||
base
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user