]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/ActionList.js
configuration: options: adapt to new advanced statistic filter default
[pmg-gui.git] / js / ActionList.js
index 94afb9bd12c26f805e9cbd1b9d0ee32c5e8387d9..a94e3e14e88113d0a74db920d6f636ba66ffc076 100644 (file)
@@ -1,4 +1,3 @@
-/*global Proxmox*/
 Ext.define('pmg-action-list', {
     extend: 'Ext.data.Model',
     fields: [
@@ -32,7 +31,7 @@ Ext.define('PMG.ActionList', {
            },
            sorters: {
                property: 'name',
-               order: 'DESC',
+               direction: 'ASC',
            },
        });
 
@@ -86,7 +85,7 @@ Ext.define('PMG.ActionList', {
            menu_items.push({
                text: config.subject,
                handler: function() {
-                   if (me.baseurl == undefined) {
+                   if (me.baseurl === undefined) {
                        return;
                    }
                    config.url = me.baseurl + '/' + editor.subdir;