diff --git a/atom/renderer/lib/override.coffee b/atom/renderer/lib/override.coffee index ccc7882a37e8..2e25ffbd6b43 100644 --- a/atom/renderer/lib/override.coffee +++ b/atom/renderer/lib/override.coffee @@ -62,6 +62,7 @@ window.open = (url, frameName='', features='') -> window.alert = (message, title='') -> dialog = remote.require 'dialog' buttons = ['OK'] + message = message.toString() dialog.showMessageBox remote.getCurrentWindow(), {message, title, buttons} # And the confirm().