]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
ObjectGrid.js: new monStoreErrors properties
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 7 Apr 2017 04:31:34 +0000 (06:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 7 Apr 2017 04:31:34 +0000 (06:31 +0200)
grid/ObjectGrid.js

index 7463485818b76e9028761de0e78c4b6eb010f539..97bfc19dd05aa5dbbf63e7b56c1be1533d083a59 100644 (file)
@@ -22,6 +22,8 @@ Ext.define('Proxmox.grid.ObjectGrid', {
     disabled: false,
     hideHeaders: true,
 
+    monStoreErrors: false,
+
     add_combobox_row: function(name, text, opts) {
        var me = this;
 
@@ -283,5 +285,9 @@ Ext.define('Proxmox.grid.ObjectGrid', {
        });
 
        me.callParent();
+
+       if (me.monStoreErrors) {
+           Proxmox.Utils.monStoreErrors(me, me.store);
+       }
    }
 });