Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit baa1a55

Browse files
committed
Fixes jquery-ui import for 'edit' page
1 parent 3f0e2a8 commit baa1a55

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

sources/web/datalab/templates/edit.html

+8-11
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,16 @@
7171
<script>
7272
requirejs.config({
7373
baseUrl: '<%baseUrl%>static/',
74-
shim: {
75-
jqueryui: {
76-
deps: ["jquery"],
77-
exports: "$"
78-
}
79-
}
8074
});
8175
requirejs.config({
82-
map: {
83-
'*': {
84-
'contents': 'services/contents',
85-
}
86-
}
76+
map: {
77+
'*': {
78+
'contents': 'services/contents',
79+
}
80+
},
81+
paths: {
82+
'jquery-ui': 'components/jquery-ui/ui/minified/jquery-ui.min',
83+
},
8784
});
8885
window.datalab = {};
8986

0 commit comments

Comments
 (0)