| @@ -337,9 +337,9 @@ | ||
| 337 | 337 | * through AJAX requests, not via PHP when the page loads. |
| 338 | 338 | * |
| 339 | 339 | * @return void |
| 340 | 340 | */ |
| 341 | - public function render(VBOMultitaskData $data = null) | |
| 341 | + public function render(?VBOMultitaskData $data = null) | |
| 342 | 342 | { |
| 343 | 343 | // increase widget's instance counter |
| 344 | 344 | static::$instance_counter++; |
| 345 | 345 | |
| @@ -804,9 +804,9 @@ | ||
| 804 | 804 | "<?php echo $wrapper_instance; ?>": [] |
| 805 | 805 | }; |
| 806 | 806 | } |
| 807 | 807 | |
| 808 | - jQuery(document).ready(function() { | |
| 808 | + jQuery(function() { | |
| 809 | 809 | |
| 810 | 810 | // render datepicker calendars for dates navigation |
| 811 | 811 | jQuery('#<?php echo $wrapper_id; ?>').find('.vbo-ratesflow-dtpicker-from, .vbo-ratesflow-dtpicker-to').datepicker({ |
| 812 | 812 | minDate: "<?php echo date($df, $mindate); ?>", |