From 16ddf9bfed3d7fdebf1da61fb998c49365914a21 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 21 Dec 2017 15:21:23 +0300 Subject: [PATCH] DataView: don't show tooltip when item is re-rendered. --- apps/common/main/lib/component/DataView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/DataView.js b/apps/common/main/lib/component/DataView.js index f2524b58c..1f087ad86 100644 --- a/apps/common/main/lib/component/DataView.js +++ b/apps/common/main/lib/component/DataView.js @@ -446,7 +446,11 @@ define([ onResetItems: function() { _.each(this.dataViewItems, function(item) { var tip = item.$el.data('bs.tooltip'); - if (tip) (tip.tip()).remove(); + if (tip) { + if (tip.dontShow===undefined) + tip.dontShow = true; + (tip.tip()).remove(); + } }, this); $(this.el).html(this.template({