[gen] Bugfix for result-tied POD templates.

This commit is contained in:
Gaetan Delannay 2013-01-08 13:28:35 +01:00
parent 240ce59519
commit 7b94bfb85e
7 changed files with 29 additions and 16 deletions

View file

@ -408,7 +408,7 @@ function generatePodDocument(contextUid, fieldName, podFormat, queryData) {
theForm.podFormat.value = podFormat;
theForm.askAction.value = "False";
theForm.queryData.value = queryData;
var askActionWidget = document.getElementById(contextUid + '_' + fieldName);
var askActionWidget = document.getElementById(contextUid + '_' + fieldName + '_cb');
if (askActionWidget && askActionWidget.checked) {
theForm.askAction.value = "True";
}