Resources/public/js/editor/src/load-step-editors.js
/**
       * Show modal on click on trigger button
       *
       * @param modalType
       * @param modalIdentifier
       */
Show modal on click on trigger button
@param modalType
@param modalIdentifier
Show modal on click on trigger button @param modalType @param modalIdentifier
function showModalOnClick (modalType, modalIdentifier) {
        $(document).on('click', 'button.trigger-' + modalType + '-' + modalIdentifier, function (event) {
          event.preventDefault();
          var $modal = $('#' + modalType + '-' + modalIdentifier);
          $modal.modal('show');
        });
      }
function showModalOnClick ( modalType , modalIdentifier ) { $ ( document ) . on ( 'click' , 'button.trigger-' + modalType + '-' + modalIdentifier , function ( event ) { event . preventDefault ( ) ; var $modal = $ ( '#' + modalType + '-' + modalIdentifier ) ; $modal . modal ( 'show' ) ; } ) ; }
Show modal on click on trigger button
 @param modalType
 @param modalIdentifier
Show modal on click on trigger button @param modalType @param modalIdentifier