diff --git a/app/assets/stylesheets/publisher.css.scss b/app/assets/stylesheets/publisher.css.scss index 550221777..696f573d6 100644 --- a/app/assets/stylesheets/publisher.css.scss +++ b/app/assets/stylesheets/publisher.css.scss @@ -23,6 +23,10 @@ margin-top: 10px; } + #publisher_spinner { + text-align: center; + } + .options_and_submit { #publisher_service_icons { .btn-link { text-decoration: none; } diff --git a/app/views/publisher/_publisher_bootstrap.html.haml b/app/views/publisher/_publisher_bootstrap.html.haml index 7528e9706..3c2478cb9 100644 --- a/app/views/publisher/_publisher_bootstrap.html.haml +++ b/app/views/publisher/_publisher_bootstrap.html.haml @@ -53,6 +53,8 @@ - for aspect_id in aspect_ids = hidden_field_tag 'aspect_ids[]', aspect_id.to_s + .row-fluid#publisher_spinner{:class => 'hidden'} + = image_tag 'ajax-loader.gif' .row-fluid.options_and_submit .public_toggle %button.btn.btn-default.pull-left#hide_publisher{:title => t('shared.publisher.discard_post')} @@ -60,8 +62,6 @@ =t('cancel') .btn-toolbar.pull-right - %span#publisher_spinner{:class => 'hidden'} - = image_tag 'ajax-loader.gif' %span#publisher_service_icons - if current_user.services - for service in current_user.services