original_string: protected function createEditPrepare()
      {
          $this->createEditSnippets = $this->getTrackEngine()->getRoundEditSnippetNames();
  
          \MUtil_JQuery::enableView($this->view);
          $this->view->headScript()->appendFile($this->basepath->getBasePath()  .  '/gems/js/jquery.showOnChecked.js');
  
          if (\MUtil_Bootstrap::enabled()) {
              $this->view->headScript()->appendScript("jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('div').showOnChecked( { showInput: $('#org_specific_round-1') });
              });");
          } else {
              $this->view->headScript()->appendScript("jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('tr').showOnChecked( { showInput: $('#org_specific_round-1') });
              });");
          }
      }
code: protected function createEditPrepare()
      {
          $this->createEditSnippets = $this->getTrackEngine()->getRoundEditSnippetNames();
  
          \MUtil_JQuery::enableView($this->view);
          $this->view->headScript()->appendFile($this->basepath->getBasePath()  .  '/gems/js/jquery.showOnChecked.js');
  
          if (\MUtil_Bootstrap::enabled()) {
              $this->view->headScript()->appendScript("jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('div').showOnChecked( { showInput: $('#org_specific_round-1') });
              });");
          } else {
              $this->view->headScript()->appendScript("jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('tr').showOnChecked( { showInput: $('#org_specific_round-1') });
              });");
          }
      }
code_tokens: protected function createEditPrepare ( ) { $ this -> createEditSnippets = $ this -> getTrackEngine ( ) -> getRoundEditSnippetNames ( ) ; \ MUtil_JQuery :: enableView ( $ this -> view ) ; $ this -> view -> headScript ( ) -> appendFile ( $ this -> basepath -> getBasePath ( ) . '/gems/js/jquery.showOnChecked.js' ) ; if ( \ MUtil_Bootstrap :: enabled ( ) ) { $ this -> view -> headScript ( ) -> appendScript ( "jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('div').showOnChecked( { showInput: $('#org_specific_round-1') });
              });" ) ; } else { $ this -> view -> headScript ( ) -> appendScript ( "jQuery(document).ready(function($) {
                  $('input[name=\"organizations[]\"]').closest('tr').showOnChecked( { showInput: $('#org_specific_round-1') });
              });" ) ; } }
docstring: Preparations for creating and editing
docstring_tokens: Preparations for creating and editing