mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix filter for only printing visible templates
This commit is contained in:
parent
5d5e45e1ad
commit
5e2d782414
@ -984,7 +984,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
var et2_list = [];
|
||||
$j('.et2_container',this.activeApp.tab.contDiv).each(function() {
|
||||
var et2 = etemplate2.getById(this.id);
|
||||
if(et2 && jQuery(et2.DOMContainer).filter(':visible'))
|
||||
if(et2 && jQuery(et2.DOMContainer).filter(':visible').length)
|
||||
{
|
||||
deferred = deferred.concat(et2.print());
|
||||
et2_list.push(et2);
|
||||
|
Loading…
Reference in New Issue
Block a user