mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
fixed a funny error that was preventing paths from being searched =)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5bf57405df
commit
2ee080fcaa
@ -495,6 +495,7 @@ module.BaseStore = {
|
|||||||
//*/
|
//*/
|
||||||
var {text, tags} = update
|
var {text, tags} = update
|
||||||
text = [
|
text = [
|
||||||
|
'',
|
||||||
path,
|
path,
|
||||||
(text
|
(text
|
||||||
&& typeof(text) != 'function') ?
|
&& typeof(text) != 'function') ?
|
||||||
@ -504,7 +505,8 @@ module.BaseStore = {
|
|||||||
'#'+ tags.join(' #')
|
'#'+ tags.join(' #')
|
||||||
: '',
|
: '',
|
||||||
].join('\n\n')
|
].join('\n\n')
|
||||||
;(await data).add(path, update.text)
|
;(await data)
|
||||||
|
.add(path, text)
|
||||||
// handle changes...
|
// handle changes...
|
||||||
//this.__search.options.__save_changes.call(this, name, 'update', path, update)
|
//this.__search.options.__save_changes.call(this, name, 'update', path, update)
|
||||||
return data },
|
return data },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user