Projet

Général

Profil

Révision 7295e063

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/includes/MediaEntityTranslationHandler.inc
30 30
      $form['actions']['delete_translation']['#weight'] = 10;
31 31
    }
32 32

  
33
    // The "Source language" element is unsupported on modal forms.
34
    if (!empty($form_state['ajax'])) {
35
      $form['source_language']['#access'] = FALSE;
36
    }
37

  
33 38
    if ($this->getPathScheme() == 'media') {
34 39
      $language = $GLOBALS[LANGUAGE_TYPE_CONTENT];
35 40
      $form_langcode = $this->getFormLanguage();

Formats disponibles : Unified diff