Dataview: don't show item tooltip when item was rendered (after click to item).
This commit is contained in:
parent
760493b15a
commit
ae11df6ed3
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue