mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-03 04:20:08 +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)
 | 
			
		||||
 | 
			
		||||
		target.delete('**')
 | 
			
		||||
		target.isPattern ?
 | 
			
		||||
			target.delete()
 | 
			
		||||
			: target.delete('**')
 | 
			
		||||
 | 
			
		||||
		// redirect...
 | 
			
		||||
		this.renderer
 | 
			
		||||
@ -2104,10 +2106,13 @@ module.System = {
 | 
			
		||||
		console.log('MOVE:', from.path, to)
 | 
			
		||||
 | 
			
		||||
		to
 | 
			
		||||
			&& await from.get('**').move(
 | 
			
		||||
				/^[\\\/]/.test(to[0]) ?
 | 
			
		||||
					to
 | 
			
		||||
					: pwpath.join('..', to))
 | 
			
		||||
			&& await (from.isPattern ?
 | 
			
		||||
					from
 | 
			
		||||
					: from.get('**'))
 | 
			
		||||
				.move(
 | 
			
		||||
					/^[\\\/]/.test(to[0]) ?
 | 
			
		||||
						to
 | 
			
		||||
						: pwpath.join('..', to))
 | 
			
		||||
 | 
			
		||||
		// redirect...
 | 
			
		||||
		this.renderer
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,6 @@
 | 
			
		||||
* 		...seems to be at least a problem with macros eating up quotes...
 | 
			
		||||
* 		do not see how we can resolve this issue transparently in any 
 | 
			
		||||
* 		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 
 | 
			
		||||
* 		refreshing...
 | 
			
		||||
* 		to reproduce:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user