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;
            }
        }
    }
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;
            }
        }
    }
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 ; } } }
Load the widget assets if they are needed. Load them here so the widget in subpalette can work as well.

@param string $table
Load the widget assets if they are needed . Load them here so the widget in subpalette can work as well .