From 3929432c14e888419c22c2bc07aec542711d8579 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 20 Jun 2018 09:40:13 -0600 Subject: [PATCH] Clear the selection before creating the empty row. Fixes empty rows not getting placeholder actions in some cases. --- 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 2a2db4dc8c..83ce1bdfca 100644 --- a/api/js/etemplate/et2_dataview_controller.js +++ b/api/js/etemplate/et2_dataview_controller.js @@ -231,8 +231,8 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({ if(idx == 0) { // No rows, start with an empty - this._emptyRow(); this._selectionMgr.clear(); + this._emptyRow(); } },