modxcms/revolution — pull request #610 by oori (2013-09-18 01:17:58+00:00)
Title: bugfix:  modx.console, js error on close

Fix regression caused by https://github.com/modxcms/revolution/commit/870f3bb5477fb134756df9a40c7750ca2f229883

On modx.console **close** via ``ok`` button -or- ```` key, you'd get a JS error:
*firefox*: ``TypeError: h.apply is not a function``
*chrome*: ``Uncaught TypeError: Object #