diff options
Diffstat (limited to 'app/Resources/static')
-rwxr-xr-x | app/Resources/static/themes/baggy/js/init.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Resources/static/themes/baggy/js/init.js b/app/Resources/static/themes/baggy/js/init.js index c6a54f6f..8da9a859 100755 --- a/app/Resources/static/themes/baggy/js/init.js +++ b/app/Resources/static/themes/baggy/js/init.js | |||
@@ -1,6 +1,6 @@ | |||
1 | const $ = global.jquery = require('jquery'); | 1 | const $ = global.jquery = require('jquery'); |
2 | require('jquery.cookie'); | 2 | require('jquery.cookie'); |
3 | require('jquery-ui'); | 3 | require('jquery-ui-browserify'); |
4 | const annotator = require('annotator'); | 4 | const annotator = require('annotator'); |
5 | import { savePercent, retrievePercent } from '../../_global/js/tools.js'; | 5 | import { savePercent, retrievePercent } from '../../_global/js/tools.js'; |
6 | import { split, extractLast } from './autoCompleteTags.js'; | 6 | import { split, extractLast } from './autoCompleteTags.js'; |
@@ -124,6 +124,10 @@ $.fn.ready(() => { | |||
124 | /** | 124 | /** |
125 | * Tags autocomplete | 125 | * Tags autocomplete |
126 | */ | 126 | */ |
127 | /** | ||
128 | * Not working on v2 | ||
129 | * | ||
130 | |||
127 | $('#value').bind('keydown', (event) => { | 131 | $('#value').bind('keydown', (event) => { |
128 | if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) { | 132 | if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) { |
129 | event.preventDefault(); | 133 | event.preventDefault(); |
@@ -156,6 +160,7 @@ $.fn.ready(() => { | |||
156 | return false; | 160 | return false; |
157 | }, | 161 | }, |
158 | }); | 162 | }); |
163 | */ | ||
159 | 164 | ||
160 | //--------------------------------------------------------------------------- | 165 | //--------------------------------------------------------------------------- |
161 | // Close the message box when the user clicks the close icon | 166 | // Close the message box when the user clicks the close icon |