mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d50c2b675d
commit
a44fe59475
@ -1038,10 +1038,12 @@ object.Constructor('BasePage', {
|
||||
__delete__: function(){ return this },
|
||||
// NOTE: we need to proxy .clone(..) back to parent so as to
|
||||
// avoid overloading .data in the children too...
|
||||
// NOTE: we are also keeping all first level queries resolving
|
||||
// to current path also virtual...
|
||||
clone: function(...args){
|
||||
var res = that.clone(...args)
|
||||
return res.path == this.path ?
|
||||
that.virtual(data)
|
||||
that.virtual(this.data)
|
||||
: res },
|
||||
data: Object.assign(
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user