Révision 08475715
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/ctools/js/auto-submit.js | ||
---|---|---|
36 | 36 |
attach: function(context) { |
37 | 37 |
// 'this' references the form element |
38 | 38 |
function triggerSubmit (e) { |
39 |
var $this = $(this); |
|
40 |
if (!$this.hasClass('ctools-ajaxing')) { |
|
41 |
$this.find('.ctools-auto-submit-click').click(); |
|
39 |
if ($.contains(document.body, this)) { |
|
40 |
var $this = $(this); |
|
41 |
if (!$this.hasClass('ctools-ajaxing')) { |
|
42 |
$this.find('.ctools-auto-submit-click').click(); |
|
43 |
} |
|
42 | 44 |
} |
43 | 45 |
} |
44 | 46 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules