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() {
|
||||
_.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({
|
||||
|
|
Loading…
Reference in a new issue