Allow page ordering

This commit is contained in:
Ruud
2014-05-05 22:01:11 +02:00
parent 8e35c02763
commit 07eb1f7f4c
8 changed files with 31 additions and 4 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ Page.Settings = new Class({
Extends: PageBase,
order: 50,
name: 'settings',
title: 'Change settings.',
wizard_only: false,
@@ -112,7 +113,7 @@ Page.Settings = new Class({
},
sortByOrder: function(a, b){
return (a.order || 100) - (b.order || 100)
return (a.order || 100) - (b.order || 100)
},
create: function(json){