sync
This commit is contained in:
@ -34,7 +34,7 @@ define(['modules/templates/page'], function (Page) {
|
||||
|
||||
function addTab(p, newadd) {
|
||||
if (!p) {
|
||||
p = {};
|
||||
p = { 'DisplayOnReport': true };
|
||||
_this.pages.push(p);
|
||||
}
|
||||
var tabName = 'tab_' + tabIndex++;
|
||||
@ -149,10 +149,12 @@ define(['modules/templates/page'], function (Page) {
|
||||
for (var i = 0; i < p.Sections.length; i++) {
|
||||
var s = p.Sections[i];
|
||||
s.Id = "";
|
||||
s.Conditional = null;
|
||||
if (s.Questions) {
|
||||
for (var j = 0; j < s.Questions.length; j++) {
|
||||
var q = s.Questions[j];
|
||||
q.Id = "";
|
||||
q.Id = $.generateUUID();
|
||||
q.Conditional = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user