diff --git a/attachments/script/util.js b/attachments/script/util.js index d81a3124..21dcc306 100755 --- a/attachments/script/util.js +++ b/attachments/script/util.js @@ -68,6 +68,7 @@ var util = function() { function hide( thing ) { $('.' + thing ).hide(); $('.' + thing + '-overlay').hide(); + if (thing === "dialog") app.emitter.clear('esc'); // todo more elegant solution } function position( thing, elem, offset ) {