Pre-render JSON silence payload when form is ready

When silence form is ready we should generate initial JSON preview, so when user clicks to show it there's something to show. Right now it's only generated if user changes something.
This commit is contained in:
Łukasz Mierzwa
2017-05-09 22:09:59 +01:00
parent 5a95d869fc
commit 847df373bf
2 changed files with 2 additions and 1 deletions

View File

@@ -362,6 +362,7 @@ var UI = (function() {
event.preventDefault();
});
silenceFormCalculateDuration();
silenceFormJSONRender();
}
});

File diff suppressed because one or more lines are too long