File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ class PatchFetcher {
8282 } catch ( error ) {
8383 try {
8484 if ( response . error || response . success === false ) {
85- document . getElementById ( 'patchtester-progress-header' ) . innerText ( Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ) ;
85+ document . getElementById ( 'patchtester-progress-header' ) . innerText = Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ;
8686 document . getElementById ( 'patchtester-progress-message' ) . innerHTML = Joomla . sanitizeHtml ( response . message ) ;
8787 }
8888 } catch ( ignore ) {
8989 if ( error === '' ) {
9090 error = Joomla . JText . _ ( 'COM_PATCHTESTER_NO_ERROR_RETURNED' ) ;
9191 }
9292
93- document . getElementById ( 'patchtester-progress-header' ) . innerText ( Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ) ;
93+ document . getElementById ( 'patchtester-progress-header' ) . innerText = Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ;
9494 document . getElementById ( 'patchtester-progress-message' ) . innerHTML = Joomla . sanitizeHtml ( error ) ;
9595 document . getElementById ( 'progress' ) . remove ( ) ;
9696 }
@@ -99,7 +99,7 @@ class PatchFetcher {
9999 } ,
100100 onError : ( jqXHR ) => {
101101 const json = ( typeof jqXHR === 'object' && jqXHR . responseText ) ? jqXHR . responseText : null ;
102- document . getElementById ( 'patchtester-progress-header' ) . innerText ( Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ) ;
102+ document . getElementById ( 'patchtester-progress-header' ) . innerText = Joomla . JText . _ ( 'COM_PATCHTESTER_FETCH_AN_ERROR_HAS_OCCURRED' ) ;
103103 document . getElementById ( 'patchtester-progress-message' ) . innerHTML = Joomla . sanitizeHtml ( json ) ;
104104 document . getElementById ( 'progress' ) . remove ( ) ;
105105 }
You can’t perform that action at this time.
0 commit comments