mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7af3f9d742
commit
1785447fd4
3
pwiki.js
3
pwiki.js
@ -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...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user