Fixed quick buttons issue (#905)

This commit is contained in:
Slytherin
2019-03-21 02:51:57 +05:30
committed by Jeffrey Warren
parent cb53efbe21
commit bae2013243
5 changed files with 12 additions and 6 deletions

View File

@@ -26,6 +26,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
function selectNewStepUi() {
var m = $(addStepSel + " select").val();
if(!m) m = arguments[0];
$(addStepSel + " .info").html(_sequencer.modulesInfo(m).description);
$(addStepSel + " #add-step-btn").prop("disabled", false);
}
@@ -43,6 +44,8 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
if ($(addStepSel + " select").val() == "none") return;
var newStepName = $(addStepSel + " select").val();
if(!newStepName) newStepName = arguments[0]
/*
* after adding the step we run the sequencer from defined step