Замена устаревшего jQuery метода
This commit is contained in:
parent
af7982f790
commit
7736605f44
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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%');
|
||||
|
|
Loading…
Add table
Reference in a new issue