original_string: public function loadAssets($table)
      {
          if (TL_MODE !== 'BE' || !is_array($GLOBALS['TL_DCA'][$table]['fields'])) {
              return;
          }
  
          foreach ($GLOBALS['TL_DCA'][$table]['fields'] as $field) {
              if ($field['inputType'] === 'fineUploader') {
                  FineUploaderWidget::includeAssets();
                  break;
              }
          }
      }
code: public function loadAssets($table)
      {
          if (TL_MODE !== 'BE' || !is_array($GLOBALS['TL_DCA'][$table]['fields'])) {
              return;
          }
  
          foreach ($GLOBALS['TL_DCA'][$table]['fields'] as $field) {
              if ($field['inputType'] === 'fineUploader') {
                  FineUploaderWidget::includeAssets();
                  break;
              }
          }
      }
code_tokens: public function loadAssets ( $ table ) { if ( TL_MODE !== 'BE' || ! is_array ( $ GLOBALS [ 'TL_DCA' ] [ $ table ] [ 'fields' ] ) ) { return ; } foreach ( $ GLOBALS [ 'TL_DCA' ] [ $ table ] [ 'fields' ] as $ field ) { if ( $ field [ 'inputType' ] === 'fineUploader' ) { FineUploaderWidget :: includeAssets ( ) ; break ; } } }
docstring: Load the widget assets if they are needed. Load them here so the widget in subpalette can work as well.
  
  @param string $table
docstring_tokens: Load the widget assets if they are needed . Load them here so the widget in subpalette can work as well .