aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/baggy/js
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/static/themes/baggy/js')
-rwxr-xr-xapp/Resources/static/themes/baggy/js/init.js7
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 @@
1const $ = global.jquery = require('jquery'); 1const $ = global.jquery = require('jquery');
2require('jquery.cookie'); 2require('jquery.cookie');
3require('jquery-ui'); 3require('jquery-ui-browserify');
4const annotator = require('annotator'); 4const annotator = require('annotator');
5import { savePercent, retrievePercent } from '../../_global/js/tools.js'; 5import { savePercent, retrievePercent } from '../../_global/js/tools.js';
6import { split, extractLast } from './autoCompleteTags.js'; 6import { 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