File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
app/code/Magento/ConfigurableProduct/view/adminhtml
templates/product/configurable/affected-attribute-set-selector Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8989 showLoader: true,
9090 context: $form
9191 })
92- .success (function (data) {
92+ .done (function (data) {
9393 if (!data.error) {
9494 setAttributeSetId(data.id);
9595 closeDialogAndProcessForm($form);
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ define([
9595 type : 'GET' ,
9696 url : this . _buildGridUrl ( filterData ) ,
9797 context : $ ( 'body' )
98- } ) . success ( function ( data ) {
98+ } ) . done ( function ( data ) {
9999 bootstrap ( JSON . parse ( data ) ) ;
100100 } ) ;
101101 } ,
Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ define([
492492 dataType : 'json' ,
493493 showLoader : true ,
494494 context : this
495- } ) . success ( function ( data ) {
495+ } ) . done ( function ( data ) {
496496 if ( ! data . error ) {
497497 this . set (
498498 'skeletonAttributeSet' ,
@@ -507,7 +507,7 @@ define([
507507 }
508508
509509 return false ;
510- } ) . error ( function ( xhr ) {
510+ } ) . fail ( function ( xhr ) {
511511 if ( xhr . statusText === 'abort' ) {
512512 return ;
513513 }
Original file line number Diff line number Diff line change @@ -531,12 +531,12 @@ define([
531531 that . element . addClass ( that . options . loadingClass ) ;
532532 }
533533 that . content . attr ( 'aria-busy' , 'true' ) ;
534- that . xhr . success ( function ( response ) {
534+ that . xhr . done ( function ( response ) {
535535 setTimeout ( function ( ) {
536536 that . content . html ( response ) ;
537537 } , 1 ) ;
538538 } ) ;
539- that . xhr . complete ( function ( jqXHR , status ) {
539+ that . xhr . always ( function ( jqXHR , status ) {
540540 setTimeout ( function ( ) {
541541 if ( status === 'abort' ) {
542542 that . content . stop ( false , true ) ;
You can’t perform that action at this time.
0 commit comments