mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 18:40:08 +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){
|
delete: async function(path='.', base=true){
|
||||||
|
if(path === true || path === false){
|
||||||
|
base = path
|
||||||
|
path = '.' }
|
||||||
var page = this.get(path)
|
var page = this.get(path)
|
||||||
if(page.isPattern){
|
if(page.isPattern){
|
||||||
base
|
base
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user