Code cleanup (indentation and PHPDoc)

This commit is contained in:
Molkobain
2022-02-09 12:58:48 +01:00
parent 0d26211dbe
commit c9d02826a0
3 changed files with 7 additions and 4 deletions

View File

@@ -19,8 +19,8 @@
;
// Apply a listener to <body> element so we don't havec to create one for every button on the page
$('body').on('enter_loading_state.button.itop', '[data-role="ibo-button"]', function(){
$(this).addClass('ibo-is-loading').prop('disabled', true);
})
.on('leave_loading_state.button.itop', '[data-role="ibo-button"]', function(){
$(this).addClass('ibo-is-loading').prop('disabled', true);
})
.on('leave_loading_state.button.itop', '[data-role="ibo-button"]', function(){
$(this).removeClass('ibo-is-loading').prop('disabled', false);
});

View File

@@ -389,7 +389,8 @@ $(function()
oInputElem[oInputParam.x_picker]('setDate', sDate);
}
}
$('#ui-datepicker-div').hide();
// Note: In that particular case we don't use the ".ibo-is-hidden" CSS class because the widget will internally use the jQuery .show() to display itself which will not override correctly the .ibo-is-hidden rules.
$('#ui-datepicker-div').hide();
}
},

View File

@@ -455,6 +455,8 @@ abstract class Controller
* @param string $sReportFileName Root name of the report file
*
* @throws \Exception
*
* @since 3.0.1 3.1.0 Add $sReportFileName parameter
*/
public function DownloadZippedPage($aParams = array(), $sTemplateName = null, $sReportFileName = 'itop-system-information-report')
{