Print function for calendar

This commit is contained in:
Nathan Gray
2016-03-31 20:55:41 +00:00
parent f838eb0f01
commit 0f18558682
4 changed files with 97 additions and 19 deletions

View File

@@ -983,7 +983,7 @@ etemplate2.prototype.print = function()
var deferred = [];
// Skip hidden etemplates
if(!jQuery(this.DOMContainer).filter(':visible').length) return [];
if(jQuery(this.DOMContainer).filter(':visible').length === 0) return [];
// Allow any widget to change for printing
this.widgetContainer.iterateOver(function(_widget) {