File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/Integration/view/adminhtml/web/js Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -363,11 +363,9 @@ define([
363363 ajaxUrl = url [ dialog ] . replace ( ':id' , integrationId ) . replace ( ':isReauthorize' , isReauthorize ) ;
364364
365365 try {
366- let html = $ ( ctx ) . parents ( 'tr' ) . find ( '.col-name' ) . html ( ) ;
367-
368- html = html . trim ( ) ;
369366 // Get integration name either from current element or from neighbor column
370- integrationName = $ ( ctx ) . attr ( 'data-row-name' ) || html ;
367+ integrationName = $ ( ctx ) . attr ( 'data-row-name' ) ||
368+ $ ( ctx ) . parents ( 'tr' ) . find ( '.col-name' ) . html ( ) . trim ( ) ; // eslint-disable-line jquery-no-trim
371369
372370 if ( integrationName . indexOf ( '<span' ) > - 1 ) {
373371 // Remove unsecure URL warning from popup window title if it is present
You can’t perform that action at this time.
0 commit comments