From 3c18655767cddbd659710386a0fe9f773ecece12 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 26 Mar 2018 18:05:53 +0300 Subject: [PATCH] bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/lib/util.js b/ui (gen4)/lib/util.js index a204c60c..99ed3077 100755 --- a/ui (gen4)/lib/util.js +++ b/ui (gen4)/lib/util.js @@ -543,8 +543,8 @@ if(typeof(jQuery) != typeof(undefined)){ // make the element focusable and selectable... .attr('tabindex', '0') .addClass('editable-field') - .keydown(events.keydown = function(evt){ - evt = window.event || evt + .keydown(events.keydown = function(jqevt){ + var evt = window.event || in_evt if(!that.prop('contenteditable')){ return } @@ -574,7 +574,7 @@ if(typeof(jQuery) != typeof(undefined)){ // continue handling... } else if(options.propagate_unhandled_keys !== false){ - $(this).parent().trigger(evt) + $(this).parent().trigger(in_evt) } }) .blur(events.blur = function(){