DataView: don't show tooltip when item is re-rendered.
This commit is contained in:
parent
b11e896521
commit
16ddf9bfed
|
@ -446,7 +446,11 @@ define([
|
||||||
onResetItems: function() {
|
onResetItems: function() {
|
||||||
_.each(this.dataViewItems, function(item) {
|
_.each(this.dataViewItems, function(item) {
|
||||||
var tip = item.$el.data('bs.tooltip');
|
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);
|
||||||
|
|
||||||
$(this.el).html(this.template({
|
$(this.el).html(this.template({
|
||||||
|
|
Loading…
Reference in a new issue