Merge pull request #19794 from liviuconcioiu/jquery-ui-timepicker-addon
Use jquery-ui-timepicker-addon.min.js (41 KB) instead of jquery-ui-timepicker-addon.js (78 KB)
This commit is contained in:
commit
bcc3f4edc2
@ -157,7 +157,7 @@ export function addDatepicker ($thisElement, type = undefined, options = undefin
|
||||
|
||||
/**
|
||||
* Add a date/time picker to each element that needs it
|
||||
* (only when jquery-ui-timepicker-addon.js is loaded)
|
||||
* (only when jquery-ui-timepicker-addon.min.js is loaded)
|
||||
*/
|
||||
export function addDateTimePicker () {
|
||||
if ($.timepicker === undefined) {
|
||||
|
||||
@ -87,7 +87,7 @@ class Header
|
||||
$this->scripts->addFile('vendor/bootstrap/bootstrap.js');
|
||||
$this->scripts->addFile('vendor/js.cookie.min.js');
|
||||
$this->scripts->addFile('vendor/jquery/jquery.validate.min.js');
|
||||
$this->scripts->addFile('vendor/jquery/jquery-ui-timepicker-addon.js');
|
||||
$this->scripts->addFile('vendor/jquery/jquery-ui-timepicker-addon.min.js');
|
||||
$this->scripts->addFile('index.php', ['route' => '/messages', 'l' => Current::$lang]);
|
||||
$this->scripts->addFile('shared.js');
|
||||
$this->scripts->addFile('menu_resizer.js');
|
||||
|
||||
@ -284,7 +284,7 @@ class HeaderTest extends AbstractTestCase
|
||||
['name' => 'vendor/bootstrap/bootstrap.js', 'fire' => 0],
|
||||
['name' => 'vendor/js.cookie.min.js', 'fire' => 0],
|
||||
['name' => 'vendor/jquery/jquery.validate.min.js', 'fire' => 0],
|
||||
['name' => 'vendor/jquery/jquery-ui-timepicker-addon.js', 'fire' => 0],
|
||||
['name' => 'vendor/jquery/jquery-ui-timepicker-addon.min.js', 'fire' => 0],
|
||||
['name' => 'index.php', 'fire' => 0],
|
||||
['name' => 'shared.js', 'fire' => 0],
|
||||
['name' => 'menu_resizer.js', 'fire' => 1],
|
||||
|
||||
@ -157,7 +157,7 @@ module.exports = [
|
||||
{ from: rootPath + '/node_modules/u2f-api-polyfill/u2f-api-polyfill.js', to: publicPath + '/js/vendor/u2f-api-polyfill.js' },
|
||||
{ from: rootPath + '/node_modules/jquery-uitablefilter/jquery.uitablefilter.js', to: publicPath + '/js/vendor/jquery/jquery.uitablefilter.js' },
|
||||
{ from: rootPath + '/node_modules/tablesorter/dist/js/jquery.tablesorter.js', to: publicPath + '/js/vendor/jquery/jquery.tablesorter.js' },
|
||||
{ from: rootPath + '/node_modules/jquery-ui-timepicker-addon/dist/jquery-ui-timepicker-addon.js', to: publicPath + '/js/vendor/jquery/jquery-ui-timepicker-addon.js' },
|
||||
{ from: rootPath + '/node_modules/jquery-ui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.js', to: publicPath + '/js/vendor/jquery/jquery-ui-timepicker-addon.min.js' },
|
||||
{ from: rootPath + '/node_modules/ol/ol.css', to: publicPath + '/js/vendor/openlayers/openlayers.css' },
|
||||
{ from: rootPath + '/node_modules/locutus.sprintf/src/php/strings/sprintf.browser.js', to: publicPath + '/js/vendor/sprintf.js' },
|
||||
{ from: rootPath + '/node_modules/chart.js/dist/chart.umd.js', to: publicPath + '/js/vendor/chart.umd.js' },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user