diff --git a/app/javascript/views/plans/edit_details.js b/app/javascript/views/plans/edit_details.js index 491f23f..559cdeb 100644 --- a/app/javascript/views/plans/edit_details.js +++ b/app/javascript/views/plans/edit_details.js @@ -165,10 +165,6 @@ }).done((data) => { form.html(data.question.form); form.find('.answer-save-button').prop('disabled', false); - // Write Plan forms have schema picker in place of the run button - // When form is sent back by the controller, we fill the schema-picker div - // with the run-button content given by the controller - target.find('.schema-picker-zone').html(data.question.form_run).addClass('run-zone'); Tinymce.init({ toolbar, }); @@ -197,10 +193,6 @@ }).done((data) => { form.html(data.question.form); form.find('.answer-save-button').prop('disabled', false); - // Write Plan forms have schema picker in place of the run button - // When form is sent back by the controller, we fill the schema-picker div - // with the run-button content given by the controller - target.find('.schema-picker-zone').html(data.question.form_run).addClass('run-zone'); Tinymce.init({ toolbar, });