This commit is contained in:
@@ -9,6 +9,19 @@ async function ayPreRender(ayAllData) {
|
||||
}
|
||||
}
|
||||
|
||||
let PreParedReportDataObject = null;
|
||||
let DataReady=false;
|
||||
|
||||
async function ayPreRenderEx(ayAllData) {
|
||||
if (typeof ayPrepareData === "function") {
|
||||
PreParedReportDataObject = await ayPrepareData(ayAllData);
|
||||
} else {
|
||||
PreParedReportDataObject = ayAllData;
|
||||
}
|
||||
DataReady=true;
|
||||
return true;
|
||||
}
|
||||
|
||||
///////////////////////////////////////
|
||||
// Set our stock handlebars helpers
|
||||
//
|
||||
@@ -38,7 +51,7 @@ function ayRegisterHelpers() {
|
||||
});
|
||||
|
||||
Handlebars.registerHelper("ayWiki", function (ayValue) {
|
||||
if(ayValue==null){
|
||||
if (ayValue == null) {
|
||||
return "";
|
||||
}
|
||||
return new Handlebars.SafeString(
|
||||
|
||||
Reference in New Issue
Block a user