update selection on store data changes
authorCornelius Weiß <c.weiss@metaways.de>
Wed, 26 Jul 2017 07:39:13 +0000 (09:39 +0200)
committerCornelius Weiss <c.weiss@metaways.de>
Wed, 26 Jul 2017 07:35:25 +0000 (09:35 +0200)
Change-Id: I90860e77d54b1e9c3149cf53b5efb66a5bdc5cbb
Reviewed-on: http://gerrit.tine20.com/customers/5313
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
Tested-by: Cornelius Weiss <c.weiss@metaways.de>
tine20/Tinebase/js/widgets/grid/GridPanel.js

index c1d11b3..f25ea55 100644 (file)
@@ -449,6 +449,8 @@ Ext.extend(Tine.widgets.grid.GridPanel, Ext.Panel, {
                 removeStrategy: 'keepBuffered'
             });
         }
+        // NOTE: grid doesn't update selections itself
+        this.actionUpdater.updateActions(this.grid.getSelectionModel());
     },
 
     /**