Thomas Rabaix преди 13 години
родител
ревизия
5cc3afacf0
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. BIN
      Resources/public/ajax-loader.gif
  2. 1 1
      Resources/views/CRUD/edit_orm_many_association_script.html.twig

BIN
Resources/public/ajax-loader.gif


+ 1 - 1
Resources/views/CRUD/edit_orm_many_association_script.html.twig

@@ -342,7 +342,7 @@ This code manage the many-to-[one|many] association field popup
 
         // update the
         jQuery('#{{ id }}').live('change', function(event) {
-            jQuery('#field_widget_{{ id }}').html("{{ 'loading_information ...'|trans([], 'SonataAdminBundle') }}");
+            jQuery('#field_widget_{{ id }}').html("<span><img src=\"{{ asset('bundles/sonataadmin/ajax-loader.gif') }}\" style=\"vertical-align: middle; margin-right: 10px\"/>{{ 'loading_information ...'|trans([], 'SonataAdminBundle') }}</span>");
             jQuery.ajax({
                 type: 'GET',
                 url: '{{ url('sonata_admin_short_object_information', {