vendor/plugins/refinery/app/views/shared/_message.html.erb in refinerycms-0.9.5.13 vs vendor/plugins/refinery/app/views/shared/_message.html.erb in refinerycms-0.9.5.14
- old
+ new
@@ -1,11 +1,11 @@
<% flash.each do |key, value| %>
<div id="flash" class="flash_<%= key %>" style='display: none;' >
- <%= value %> (<%= link_to "close", "", {:id => "close"} %>)
- <script type="text/javascript">
- $('close').observe('click', function(e){
- $('flash').fade({ duration: 0.3 });
- e.preventDefault();
- });
- </script>
+ <%= value %> (<%= link_to "close", "", {:id => "close"} %>)
+ <script type="text/javascript">
+ $('close').observe('click', function(e){
+ $('flash').fade({ duration: 0.3 });
+ e.preventDefault();
+ });
+ </script>
</div>
-<% end %>
\ No newline at end of file
+<% end %>