Skip to content

Commit e38ed86

Browse files
committed
add step selector for internal-x loader
1 parent 2aba7ec commit e38ed86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ajax/common/traits/JsUtilsAjaxTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function _ajax($method, $url, $responseElement = '', $parameters = [])
4141
} elseif ($hasLoader === 'response') {
4242
$this->addResponseLoading($retour, $responseElement, $ajaxLoader);
4343
} elseif ($hasLoader === 'internal-x') {
44-
$this->addLoading($retour, '$(this).closest(".item")', $ajaxLoader);
44+
$this->addLoading($retour, '$(this).closest(".item, .step")', $ajaxLoader);
4545
} elseif ($hasLoader === 'internal') {
4646
$retour .= "\n$(this).addClass('loading');";
4747
}

0 commit comments

Comments
 (0)