Fix hint specific Line appearing in general containermenu
Change-Id: I6a6a14c5b89f14d9e4e8ccaf27d4e3c7243a74db
diff --git a/dev/js/src/hint/menu.js b/dev/js/src/hint/menu.js
index ecd0b51..ebbdd68 100644
--- a/dev/js/src/hint/menu.js
+++ b/dev/js/src/hint/menu.js
@@ -51,7 +51,7 @@
obj.container().element().addEventListener("click", function (e) {
this.reset("");
this.element().blur();
- this.hint().unshow(); //hide the containermenu, not with hide but with blur, because blur would usually happen in default mousedown behaviour
+ //NOW IN RESET: this.hint().unshow(); //hide the containermenu, not with hide but with blur, because blur would usually happen in default mousedown behaviour
e.halt(); // Question: my impression is that this click event handler is called after all the others and thus this should be absolutely no problem.
// Are we sure there are no things that do not happen now thanks to this?
@@ -87,6 +87,7 @@
reset : function (action) {
this.prefix("");
this.hint().inputField().insert(action).update();
+ this.hint().unshow()
},
};
});