Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/misc/tableselect.js | ||
---|---|---|
57 | 57 |
// Keep track of the last checked checkbox. |
58 | 58 |
lastChecked = e.target; |
59 | 59 |
}); |
60 |
|
|
61 |
// If all checkboxes are checked on page load, make sure the select-all one |
|
62 |
// is checked too, otherwise keep unchecked. |
|
63 |
updateSelectAll((checkboxes.length == $(checkboxes).filter(':checked').length)); |
|
60 | 64 |
}; |
61 | 65 |
|
62 | 66 |
Drupal.tableSelectRange = function (from, to, state) { |
63 |
// We determine the looping mode based on the the order of from and to.
|
|
67 |
// We determine the looping mode based on the order of from and to. |
|
64 | 68 |
var mode = from.rowIndex > to.rowIndex ? 'previousSibling' : 'nextSibling'; |
65 | 69 |
|
66 | 70 |
// Traverse through the sibling nodes. |
Formats disponibles : Unified diff
Update core to 7.36