diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-03-11 14:19:38 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-03-11 14:19:38 +0100 |
commit | 02f898fa075168c53e919157ce22e0b745a943d2 (patch) | |
tree | bc6f9ef0dd8431f8aefad94f0789274560fdb368 | |
parent | bba26cb2ebf48413ed938af572ee46b7cb9f0ba2 (diff) | |
download | nextcloud-server-02f898fa075168c53e919157ce22e0b745a943d2.tar.gz nextcloud-server-02f898fa075168c53e919157ce22e0b745a943d2.zip |
Use jquery-ui to only embed button components
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | core/src/install.js | 4 | ||||
-rw-r--r-- | package-lock.json | 5 | ||||
-rw-r--r-- | package.json | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/core/src/install.js b/core/src/install.js index 2e69c3e3c99..43957acb9be 100644 --- a/core/src/install.js +++ b/core/src/install.js @@ -3,6 +3,10 @@ import { translate as t } from '@nextcloud/l10n' import { getToken } from './OC/requesttoken' import getURLParameter from './Util/get-url-parameter' +import 'jquery-ui/ui/widgets/button' +import 'jquery-ui/themes/base/theme.css' +import 'jquery-ui/themes/base/button.css' + import 'strengthify' import 'strengthify/strengthify.css' diff --git a/package-lock.json b/package-lock.json index 79af96b4a73..8d2d2dee708 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6651,6 +6651,11 @@ "resolved": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-1.4.1.tgz", "integrity": "sha1-hRUvPsmalWJfT30Lz2LpuGOPWnY=" }, + "jquery-ui": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.12.1.tgz", + "integrity": "sha1-vLQEXI3QU5wTS8FIjN0+dop6nlE=" + }, "jquery-ui-dist": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.12.1.tgz", diff --git a/package.json b/package.json index 5a1711a5185..91124475ab6 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "jcrop": "git+https://github.com/ChristophWurst/Jcrop.git#v0.9.12-npm3", "jquery": "2.1.4", "jquery-migrate": "^1.4.1", + "jquery-ui": "^1.12.1", "jquery-ui-dist": "^1.12.1", "jstimezonedetect": "^1.0.7", "lodash": "^4.17.15", |