fix bug with dialog close listeners stacking up

This commit is contained in:
Max Ogden 2011-08-03 19:59:30 -04:00
parent fe9e7f4c61
commit cc9eeade0b

View File

@ -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 ) {