|<\/div>/g, '\n');
eval.call(null, jsCode);
} else {
var customStyles = '';
if (widget.isHtmlWidget === true) {
customStyles += ' widget-type-htmldiv';
}
var $content = $('
');
$content.find('[data-skip-fix-widget-height]').css('height', '100%').parent().css('height', '100%');
grid.addWidget($content, widget.x, widget.y, widget.width, widget.height);
}
});
// remove gridstack absolute position and fixed height if there is one widget on the page
$.cdh.helper.removeGridstackFixedHeight(widgets.length);
$("#preSpinner").fadeOut(200, function() { $(this).remove(); });
})