Skip to content

Commit

Permalink
Fixes #18740 - remove erb extension from host_checkbox.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amirfefer authored and ohadlevy committed Mar 1, 2017
1 parent 09fae51 commit 1f5f5df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function build_modal(element, url) {
var title = $(element).attr('data-dialog-title');
$('#confirmation-modal .modal-header h4').text(title);
$('#confirmation-modal .modal-body').empty()
.append("<img class='modal-loading' src='<%= asset_path('spinner.gif') %>'");
.append("<div class='modal-spinner spinner spinner-lg'></div>");
$('#confirmation-modal').modal();
$("#confirmation-modal .modal-body").load(url + " #content",
function(response, status, xhr) {
Expand Down
7 changes: 7 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,13 @@ table {
width: 80%;
}

.modal-spinner {
position: absolute;
display: block;
top: 50%;
left: 50%;
}

@media screen and (min-width: 768px) {
.modal-big {
width: 70%;
Expand Down

0 comments on commit 1f5f5df

Please sign in to comment.