mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +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
|
||||
text = [
|
||||
'',
|
||||
path,
|
||||
(text
|
||||
&& typeof(text) != 'function') ?
|
||||
@ -504,7 +505,8 @@ module.BaseStore = {
|
||||
'#'+ tags.join(' #')
|
||||
: '',
|
||||
].join('\n\n')
|
||||
;(await data).add(path, update.text)
|
||||
;(await data)
|
||||
.add(path, text)
|
||||
// handle changes...
|
||||
//this.__search.options.__save_changes.call(this, name, 'update', path, update)
|
||||
return data },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user