mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
aed572cb33
commit
9e49e4f9b3
5
wiki.js
5
wiki.js
@ -931,6 +931,7 @@ var Wiki = {
|
||||
|
||||
// update links to this page...
|
||||
this.pages(function(page){
|
||||
//this.get('**').map(function(page){
|
||||
// skip the old page...
|
||||
if(page.location == l){
|
||||
return
|
||||
@ -1264,6 +1265,10 @@ var Wiki = {
|
||||
// NOTE: the next method is used iff the previous returns 0,
|
||||
// i.e. the items are equal.
|
||||
//
|
||||
// NOTE: the sort is local to the returned object.
|
||||
// NOTE: the sorted object may loose sync form the actual wiki as the
|
||||
// list of siblings is cached.
|
||||
// ...the resulting object is not to be stored for long.
|
||||
sort: function(){
|
||||
var that = this
|
||||
var res = this.clone()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user