Some small adjustments and fixes

This commit is contained in:
Marc
2015-04-19 21:46:14 +02:00
parent f531220f8d
commit ce165e11fb
2 changed files with 9 additions and 12 deletions

View File

@ -94,8 +94,6 @@
else {
control.template = ko.observable(control.template);
control.regex = ko.observable(control.regex);
control.output = ko.computed(function () { return control.template(); });
}
}
@ -108,7 +106,6 @@
control.layout = ko.observable("vertical");
}
else {
control.name = ko.observable(control.name);
control.children = ko.observableArray(self._processControls(control, control.children));
if (!control.hasOwnProperty("layout") || !(control.layout == "vertical" || control.layout == "horizontal" || control.layout == "horizontal_grid"))
control.layout = ko.observable("vertical");