stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook

This commit is contained in:
Ralf Becker 2015-04-28 16:01:39 +00:00
parent 5ec55f9c16
commit badc6062fa

View File

@ -308,6 +308,14 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput, et2_IPrin
});
}
}
// stop invalidation in no visible tabs
$j(this.getInstanceManager().DOMContainer.parentNode).on('hide.et2_nextmatch', jQuery.proxy(function(e) {
this.controller._grid.doInvalidate = false;
},this));
$j(this.getInstanceManager().DOMContainer.parentNode).on('show.et2_nextmatch', jQuery.proxy(function(e) {
this.controller._grid.doInvalidate = true;
},this));
return true;
},