Projet

Général

Profil

Révision 2392401e

Ajouté par Assos Assos il y a presque 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/admin_menu/admin_menu.admin.js
1
(function($) {
1
/**
2
 * @file
3
 */
4

  
5
(function ($) {
2 6

  
3 7
/**
4 8
 * Live preview of Administration menu components.
......
45 49
              // Figure out which is the other, check whether it still disabled,
46 50
              // and if so, ask whether to auto-enable it.
47 51
              var other = (this == $admin[index] ? $menu[index] : $admin[index]);
48
              if (!other.checked && confirm(Drupal.t('Also allow !name role to !permission?', {
49
                '!name': $roles[index].textContent,
50
                '!permission': (this == $admin[index] ? menuPermission : adminPermission)
52
              if (!other.checked && confirm(Drupal.t('Also allow @name role to @permission?', {
53
                '@name': $roles[index].textContent,
54
                '@permission': (this == $admin[index] ? menuPermission : adminPermission)
51 55
              }))) {
52 56
                other.checked = 'checked';
53 57
              }

Formats disponibles : Unified diff