Révision b4adf10d
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/modules/dashboard/dashboard.js | ||
---|---|---|
32 | 32 |
empty_text = Drupal.settings.dashboard.emptyRegionTextInactive; |
33 | 33 |
} |
34 | 34 |
// We need a placeholder. |
35 |
if ($('.placeholder', this).length == 0) { |
|
36 |
$(this).append('<div class="placeholder"></div>'); |
|
35 |
if ($('.dashboard-placeholder', this).length == 0) {
|
|
36 |
$(this).append('<div class="dashboard-placeholder"></div>');
|
|
37 | 37 |
} |
38 |
$('.placeholder', this).html(empty_text); |
|
38 |
$('.dashboard-placeholder', this).html(empty_text);
|
|
39 | 39 |
} |
40 | 40 |
else { |
41 |
$('.placeholder', this).remove(); |
|
41 |
$('.dashboard-placeholder', this).remove();
|
|
42 | 42 |
} |
43 | 43 |
}); |
44 | 44 |
}, |
Formats disponibles : Unified diff
Udpate to 7.33