r9912 - apps/gobi/trunk/code/Page

[email protected] Wed, 16 Sep 2009 17:41:40 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090916154140.3B0013D0E3@mia>
Author: hannes
Date: 2009-09-16 17:41:40 +0200 (Wed, 16 Sep 2009)
New Revision: 9912

Modified:
   apps/gobi/trunk/code/Page/Permissions.js
Log:
Change action order, add test to standard actions

Details at http://dev.helma.org/trac/helma/changeset/9912

Modified: apps/gobi/trunk/code/Page/Permissions.js
===================================================================
--- apps/gobi/trunk/code/Page/Permissions.js	2009-09-16 14:58:22 UTC (rev 9911)
+++ apps/gobi/trunk/code/Page/Permissions.js	2009-09-16 15:41:40 UTC (rev 9912)
@@ -40,11 +40,11 @@
     //actions displayed in control bar
     new Action("main", {category: READ, label: "Main View"}),
     new Action("list", {category: READ, label: "List Child Pages"}),
+    new Action("history", {category: WRITE, label: "Page History"}),
     new Action("edit", {category: WRITE, label: "Edit Content"}),
-    new Action("history", {category: WRITE, label: "Page History"}),
-    new Action("comment", {category: COMMENT}),
     new Action("attach", {category: WRITE, label: "Attachments"}),
     new Action("create", {category: WRITE, label: "New Page"}),
+    new Action("comment", {category: COMMENT}),
     new Action("move", {category: MANAGE}),
     new Action("delete", {category: MANAGE}),
     new Action("manage", {category: MANAGE}),
@@ -59,7 +59,8 @@
     error: true, 
     notfound: true, 
     javascript: true, 
-    stylesheet: true
+    stylesheet: true,
+    test: true
 }
 
 /**