mirror of
https://github.com/flynx/pWiki.git
synced 2025-11-03 12:30:07 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a635f18b6b
commit
9219794848
@ -2083,7 +2083,9 @@ module.System = {
|
|||||||
|
|
||||||
console.log('DELETE:', target.path)
|
console.log('DELETE:', target.path)
|
||||||
|
|
||||||
target.delete('**')
|
target.isPattern ?
|
||||||
|
target.delete()
|
||||||
|
: target.delete('**')
|
||||||
|
|
||||||
// redirect...
|
// redirect...
|
||||||
this.renderer
|
this.renderer
|
||||||
@ -2104,7 +2106,10 @@ module.System = {
|
|||||||
console.log('MOVE:', from.path, to)
|
console.log('MOVE:', from.path, to)
|
||||||
|
|
||||||
to
|
to
|
||||||
&& await from.get('**').move(
|
&& await (from.isPattern ?
|
||||||
|
from
|
||||||
|
: from.get('**'))
|
||||||
|
.move(
|
||||||
/^[\\\/]/.test(to[0]) ?
|
/^[\\\/]/.test(to[0]) ?
|
||||||
to
|
to
|
||||||
: pwpath.join('..', to))
|
: pwpath.join('..', to))
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
* ...seems to be at least a problem with macros eating up quotes...
|
* ...seems to be at least a problem with macros eating up quotes...
|
||||||
* do not see how we can resolve this issue transparently in any
|
* do not see how we can resolve this issue transparently in any
|
||||||
* way other than disallowing quotes...
|
* way other than disallowing quotes...
|
||||||
* XXX BUG??? renaming a page does not rename sub-pages...
|
|
||||||
* XXX BUG: for some reason deleting and refreshing takes ~2x as long as
|
* XXX BUG: for some reason deleting and refreshing takes ~2x as long as
|
||||||
* refreshing...
|
* refreshing...
|
||||||
* to reproduce:
|
* to reproduce:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user