Révision b720ea3e
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/sites/all/modules/date/date.js | ||
---|---|---|
27 | 27 |
this.$widget = $(widget); |
28 | 28 |
this.$start = this.$widget.find('.form-type-date-select[class$=value]'); |
29 | 29 |
this.$end = this.$widget.find('.form-type-date-select[class$=value2]'); |
30 |
if (this.$end.length == 0) { |
|
30 |
if (this.$end.length === 0) {
|
|
31 | 31 |
return; |
32 | 32 |
} |
33 | 33 |
this.initializeSelects(); |
... | ... | |
68 | 68 |
var id; |
69 | 69 |
for (id in this.selects) { |
70 | 70 |
if (this.selects.hasOwnProperty(id)) { |
71 |
if (this.selects[id].end.val() != '') { |
|
71 |
if (this.selects[id].end.val() !== '') {
|
|
72 | 72 |
return false; |
73 | 73 |
} |
74 | 74 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules