consolidated question edit/new js so that ariatise and tinymce are only invoked once
updated timing of validation checks on ariatiseForm because they were firing before Tinymce was transfering its contents to the textarea

added asterisk to JS that handles form validations

removed ariatise from js that did not have any fields defined yet

applied requested changes
dev
1 parent 8f453a0 commit ea4bd9fd1cab5bd660dde521eadd6f2ef5a6a640
@Brian Riley Brian Riley authored on 20 Mar 2018
Showing 9 changed files
View
app/views/plans/_share_form.html.erb
View
app/views/plans/new.html.erb
View
lib/assets/javascripts/application.js
View
lib/assets/javascripts/utils/ariatiseForm.js
View
lib/assets/javascripts/utils/validation.js
View
lib/assets/javascripts/views/questions/edit.js 100644 → 0
View
lib/assets/javascripts/views/questions/new.js 100644 → 0
View
lib/assets/javascripts/views/questions/new_edit.js 0 → 100644
View
lib/assets/stylesheets/overrides.scss