File tree Expand file tree Collapse file tree
app/javascript/src/orgAdmin/phases Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { addAsterisks } from '../../utils/requiredField';
77import onChangeQuestionFormat from '../questions/sharedEventHandlers' ;
88import initQuestionOption from '../questionOptions/index' ;
99import updateConditions from '../conditions/updateConditions' ;
10+ import initQuestionIdentifiers from '../questionIdentifiers/index' ;
1011
1112$ ( ( ) => {
1213 Tinymce . init ( { selector : '#phase_description' } ) ;
@@ -37,7 +38,9 @@ $(() => {
3738 $ ( `#${ context } select.question_format` ) . change ( ( e ) => {
3839 onChangeQuestionFormat ( e ) ;
3940 } ) ;
41+ initQuestionIdentifiers ( context ) ;
4042 }
43+
4144 } ;
4245
4346 $ ( '.question_container' ) . each ( ( i , element ) => {
@@ -80,6 +83,7 @@ $(() => {
8083 } ) ;
8184 } ,
8285 } ) ;
86+
8387
8488 const questionForm = $ ( `#${ selector } ` ) . find ( '.question_form' ) ;
8589 if ( questionForm . length > 0 ) {
You can’t perform that action at this time.
0 commit comments