diff --git a/js/components/button.js b/js/components/button.js index 093adaa4d..5d5b23806 100644 --- a/js/components/button.js +++ b/js/components/button.js @@ -19,8 +19,8 @@ ; // Apply a listener to 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); }); diff --git a/js/search/search_form_criteria_date_abstract.js b/js/search/search_form_criteria_date_abstract.js index 712ef64c0..86c07ec52 100644 --- a/js/search/search_form_criteria_date_abstract.js +++ b/js/search/search_form_criteria_date_abstract.js @@ -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(); } }, diff --git a/sources/application/TwigBase/Controller/Controller.php b/sources/application/TwigBase/Controller/Controller.php index 8a2db885b..7642aa2f3 100644 --- a/sources/application/TwigBase/Controller/Controller.php +++ b/sources/application/TwigBase/Controller/Controller.php @@ -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') {