mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Code cleanup (indentation and PHPDoc)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user