updated by GasGit automation
This commit is contained in:
parent
5b00ef2175
commit
f63d0181f2
1 changed files with 9 additions and 0 deletions
|
@ -94,6 +94,7 @@ var Process = (function (process) {
|
|||
|
||||
};
|
||||
|
||||
|
||||
// get and apply any stored properties
|
||||
return new Promise (function (resolve, reject) {
|
||||
|
||||
|
@ -118,6 +119,14 @@ var Process = (function (process) {
|
|||
// the finally decided upon initial values
|
||||
pc.useInitial = elementer.getInitial();
|
||||
|
||||
// use the defaults for the preview chart dimensions
|
||||
if(!parseInt(elements.controls.previewHeight.value,10)){
|
||||
elements.controls.previewHeight.value = Process.control.chart.defOptions.height;
|
||||
}
|
||||
if(!parseInt(elements.controls.previewWidth.value,10)){
|
||||
elements.controls.previewWidth.value = Process.control.chart.defOptions.width;
|
||||
}
|
||||
|
||||
// map the values
|
||||
process.applyElementer();
|
||||
resolve (elementer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue