original_string: public function onGoToFolder()
      {
          $path = Input::get('path');
  
          if (Input::get('clearCache')) {
              MediaLibrary::instance()->resetCache();
          }
  
          if (Input::get('resetSearch')) {
              $this->setSearchTerm(null);
          }
  
          $this->setCurrentFolder($path);
          $this->prepareVars();
  
          return [
              '#'.$this->getId('item-list') => $this->makePartial('item-list'),
              '#'.$this->getId('folder-path') => $this->makePartial('folder-path')
          ];
      }
code: public function onGoToFolder()
      {
          $path = Input::get('path');
  
          if (Input::get('clearCache')) {
              MediaLibrary::instance()->resetCache();
          }
  
          if (Input::get('resetSearch')) {
              $this->setSearchTerm(null);
          }
  
          $this->setCurrentFolder($path);
          $this->prepareVars();
  
          return [
              '#'.$this->getId('item-list') => $this->makePartial('item-list'),
              '#'.$this->getId('folder-path') => $this->makePartial('folder-path')
          ];
      }
code_tokens: public function onGoToFolder ( ) { $ path = Input :: get ( 'path' ) ; if ( Input :: get ( 'clearCache' ) ) { MediaLibrary :: instance ( ) -> resetCache ( ) ; } if ( Input :: get ( 'resetSearch' ) ) { $ this -> setSearchTerm ( null ) ; } $ this -> setCurrentFolder ( $ path ) ; $ this -> prepareVars ( ) ; return [ '#' . $ this -> getId ( 'item-list' ) => $ this -> makePartial ( 'item-list' ) , '#' . $ this -> getId ( 'folder-path' ) => $ this -> makePartial ( 'folder-path' ) ] ; }
docstring: Change view AJAX handler
  @return array
docstring_tokens: Change view AJAX handler