minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-10-10 06:53:47 +03:00
parent 7af3f9d742
commit 1785447fd4

View File

@ -1298,6 +1298,7 @@ var pWikiUIActions = actions.Actions({
dom: null, dom: null,
page: null, page: null,
// XXX might be a good idea to add actions to setup/clear a filter...
__dom_filters__: { __dom_filters__: {
// sortable elements... // sortable elements...
'.sortable': function(elems){ '.sortable': function(elems){
@ -1415,7 +1416,6 @@ var pWikiUIActions = actions.Actions({
page.location(path) page.location(path)
this.dom.attr('wiki-active', 'no')
this.reload() this.reload()
}], }],
@ -1425,6 +1425,7 @@ var pWikiUIActions = actions.Actions({
var page = this.page var page = this.page
this.dom this.dom
.attr('wiki-active', 'no')
.empty() .empty()
// update path and render page... // update path and render page...
// XXX revise the default view approach... // XXX revise the default view approach...