Skip to content
Snippets Groups Projects
Commit ce519385 authored by Schumann Hasinjanahary's avatar Schumann Hasinjanahary
Browse files

set mainForm in costum var for aac

parent fac21ffe
No related branches found
No related tags found
No related merge requests found
if (notNull(costum) && costum.type == "aap" && typeof costum.aapType != "undefined" && costum.aapType == "aac") {
ajaxPost(
null,
baseUrl + "/co2/aap/aac/method/get_main_form",
{
contextId: costum.contextId
},
function (res) {
if (notNull(res) && notEmpty(res.form)) {
costum.mainFormId = res.form._id.$id;
}
}
)
}
directory.showResultsDirectoryHtml = function (resultsDirectory, renderType, smartGrid, community, unique, data) {
directory.resultKeys = [];
directory.resultKeys = Object.keys(resultsDirectory);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment