Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
defaulting to allowing HTML in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hahashraf committed Aug 16, 2011
1 parent 0c1b251 commit 9616947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/errational/version.rb
@@ -1,3 +1,3 @@
module Errational
VERSION = "0.7.1"
VERSION = "0.8.16"
end
4 changes: 2 additions & 2 deletions lib/generators/templates/_error_dialog.js.erb
Expand Up @@ -6,7 +6,7 @@
*/
jQuery('body').append('<div id="errational_error_dialog"></div>');
jQuery('#errational_error_dialog')
.html('<%%= message %>')
.html('<%%= message.html_safe %>')
.dialog(
{
minHeight: 'auto',
Expand All @@ -17,4 +17,4 @@ jQuery('#errational_error_dialog')
resizable: false,
width: 450
}
);
);

0 comments on commit 9616947

Please sign in to comment.