More Modules option removed. Placeholder text added (#996)

* More Modules option removed. Placeholder text added

* 'A' changed to 'a' in placeholder text

* Update examples/lib/intermediateHtmlStepUi.js

Suggested update

Co-Authored-By: teisenhower <47988669+teisenhower@users.noreply.github.com>
This commit is contained in:
Terrence
2019-04-07 13:12:18 -04:00
committed by Jeffrey Warren
parent e4e4548c09
commit 51a38fe3cf
3 changed files with 33 additions and 14 deletions

View File

@@ -118,8 +118,8 @@ function IntermediateHtmlStepUi(_sequencer, step, options) {
sortField: 'text'
});
$(step.ui.querySelector('.inserDiv .add-step-btn')).prop('disabled', true);
insertStepSelect.append('<option value="none" disabled selected>More modules...</option>');
insertStepSelect.append('<option value="" disabled selected>Select a Module</option>');
$(step.ui.querySelector('.insertDiv .radio-group .radio')).on("click", function () {
$(this).parent().find('.radio').removeClass('selected');
$(this).addClass('selected');