+ if (debug) messages.debug("Empty result on hazelnut " + this.options.domid);
+ var placeholder=$(this.table).find("td.dataTables_empty");
+ console.log("placeholder "+placeholder);
+ if (placeholder.length==1) placeholder.html(unfold.warning("Empty result"));
+ else this.table.html(unfold.warning("Empty result"));
+ return;
+ } else if (typeof(rows[0].error) != 'undefined') {
+ // we now should have another means to report errors that this inline/embedded hack
+ if (debug) messages.error ("undefined result on " + this.options.domid + " - should not happen anymore");
+ this.table.html(unfold.error(rows[0].error));