From 2bc4f2b8a4cd86e4c8ebcc6aa4e606f86962ac26 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 4 Jul 2018 16:57:09 +0200 Subject: [PATCH] On nm init check for grid total number to avoid placeholder actions --- api/js/etemplate/et2_dataview_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_dataview_controller.js b/api/js/etemplate/et2_dataview_controller.js index cf1ab15c97..164cf6a723 100644 --- a/api/js/etemplate/et2_dataview_controller.js +++ b/api/js/etemplate/et2_dataview_controller.js @@ -232,7 +232,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({ { // No rows, start with an empty this._selectionMgr.clear(); - this._emptyRow(this._grid._total); + this._emptyRow(this._grid._total == 0); } },