Restore the <span> around the alert content, needed by tests
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/289a2d24 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/289a2d24 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/289a2d24 Branch: refs/heads/master Commit: 289a2d2421bb1136174083c42cd8bf5b487a6cf3 Parents: e7b7d81 Author: Howard M. Lewis Ship <[email protected]> Authored: Fri Aug 23 15:09:08 2013 -0700 Committer: Howard M. Lewis Ship <[email protected]> Committed: Fri Aug 23 15:09:08 2013 -0700 ---------------------------------------------------------------------- .../src/main/coffeescript/META-INF/modules/t5/core/alert.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/289a2d24/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee index 3ac723d..2d2da61 100644 --- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee +++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee @@ -119,8 +119,8 @@ define ["./dom", "./console", "./messages", "./ajax", "underscore", "./bootstrap class: "alert alert-dismissable " + className """ <button type="button" class="close">×</button> - #{content} - """ + <span>#{content}</span> + """ container.append element
