1
0
Fork 0
mirror of synced 2025-04-11 21:21:00 +00:00

Замена устаревшего jQuery метода

This commit is contained in:
Mozgito 2022-06-17 11:33:58 +03:00
parent af7982f790
commit 7736605f44
3 changed files with 5 additions and 5 deletions

View file

@ -127,7 +127,7 @@ if (isset($arResult['PAYMENT'])) {
<script type="text/javascript" src="/bitrix/js/main/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('input[name="update"]').live('click', function() {
$('input[name="update"]').on('click', function() {
$('input[name="step"]').val(2);
BX.showWait();
var updButton = this;

View file

@ -129,7 +129,7 @@ IncludeModuleLangFile(__FILE__);
});
}
$('input[name="start"]').live('click', function() {
$('input[name="start"]').on('click', function() {
BX.showWait();
$(this).attr('name', 'stop');
@ -147,7 +147,7 @@ IncludeModuleLangFile(__FILE__);
return false;
});
$('input[name="stop"]').live('click', function() {
$('input[name="stop"]').on('click', function() {
BX.closeWait();
// show next step button

View file

@ -1236,7 +1236,7 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
});
$('input[name="update-delivery-services"]').live('click', function() {
$('input[name="update-delivery-services"]').on('click', function() {
BX.showWait();
var updButton = this;
// hide next step button
@ -1966,7 +1966,7 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
});
}
$('input[name="start"]').live('click', function() {
$('input[name="start"]').on('click', function() {
BX.showWait();
$('#indicator').css('width', 0);
$('#percent2').html('0%');