Make main page flash messages visible
This commit is contained in:
parent
8b84f11a45
commit
ca64b39e0d
2 changed files with 5 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
|||
dataType: "html",
|
||||
complete: function(xhr) {
|
||||
clearTimeout(loaderTimeout);
|
||||
$('#flash').empty();
|
||||
$('#sidebar_loader').hide();
|
||||
$('#sidebar_content').html(xhr.responseText);
|
||||
if (xhr.getResponseHeader('X-Page-Title')) {
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
<p class="error"><%= t 'layouts.osm_read_only' %></p>
|
||||
<% end %>
|
||||
|
||||
<div id="flash">
|
||||
<%= render :partial => "layouts/flash" %>
|
||||
</div>
|
||||
|
||||
<div id="browse_status"></div>
|
||||
|
||||
<div id="sidebar_loader" style="display: none;">
|
||||
|
@ -37,7 +41,6 @@
|
|||
</div>
|
||||
|
||||
<div id="sidebar_content">
|
||||
<%= render :partial => "layouts/flash" %>
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue