Dataview: don't show item tooltip when item was rendered (after click to item).

This commit is contained in:
Julia Radzhabova 2017-12-20 14:12:26 +03:00
parent 760493b15a
commit ae11df6ed3

View file

@ -148,6 +148,12 @@ define([
if (!_.isUndefined(this.model.get('cls'))) if (!_.isUndefined(this.model.get('cls')))
el.addClass(this.model.get('cls')); el.addClass(this.model.get('cls'));
var tip = el.data('bs.tooltip');
if (tip) {
if (tip.dontShow===undefined)
tip.dontShow = true;
}
this.trigger('change', this, this.model); this.trigger('change', this, this.model);
return this; return this;