Skip to content

Commit a8f00e7

Browse files
Merge pull request #19795 from liviuconcioiu/additional-methods
Use additional-methods.min.js (22 KB) instead of additional-methods.js (51 KB)
2 parents bcc3f4e + 362c071 commit a8f00e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Controllers/Table/ChangeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function __invoke(ServerRequest $request): Response
150150
'makegrid.js',
151151
'sql.js',
152152
'table/change.js',
153-
'vendor/jquery/additional-methods.js',
153+
'vendor/jquery/additional-methods.min.js',
154154
'gis_data_editor.js',
155155
]);
156156

src/Controllers/Table/ReplaceController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public function __invoke(ServerRequest $request): Response
368368
Current::$sqlQuery = $returnToSqlQuery;
369369
}
370370

371-
$this->response->addScriptFiles(['vendor/jquery/additional-methods.js', 'table/change.js']);
371+
$this->response->addScriptFiles(['vendor/jquery/additional-methods.min.js', 'table/change.js']);
372372

373373
/**
374374
* If user asked for "and then Insert another new row" we have to remove

webpack.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ module.exports = [
149149
{ from: rootPath + '/node_modules/jquery-migrate/dist/jquery-migrate.min.map', to: publicPath + '/js/vendor/jquery/jquery-migrate.min.map' },
150150
{ from: rootPath + '/node_modules/jquery-ui-dist/jquery-ui.min.js', to: publicPath + '/js/vendor/jquery/jquery-ui.min.js' },
151151
{ from: rootPath + '/node_modules/jquery-validation/dist/jquery.validate.min.js', to: publicPath + '/js/vendor/jquery/jquery.validate.min.js' },
152-
{ from: rootPath + '/node_modules/jquery-validation/dist/additional-methods.js', to: publicPath + '/js/vendor/jquery/additional-methods.js' },
152+
{ from: rootPath + '/node_modules/jquery-validation/dist/additional-methods.min.js', to: publicPath + '/js/vendor/jquery/additional-methods.min.js' },
153153
{ from: rootPath + '/node_modules/js-cookie/dist/js.cookie.min.js', to: publicPath + '/js/vendor/js.cookie.min.js' },
154154
{ from: rootPath + '/node_modules/@zxcvbn-ts/core/dist/zxcvbn-ts.js', to: publicPath + '/js/vendor/zxcvbn-ts.js' },
155155
{ from: rootPath + '/node_modules/@zxcvbn-ts/core/dist/zxcvbn-ts.js.map', to: publicPath + '/js/vendor/zxcvbn-ts.js.map' },

0 commit comments

Comments
 (0)