Jump to content

Recommended Posts

Posted

Yes, that can be a problem in some places, and require the module/plugin to develop their own solution. The 3.2 client interface more-or-less takes care of this with loading bars, and we've just updated module service fields to do the same. Other ajax requests may require a custom solution in your plugin/module, depending on what you're trying to do.

Posted

You are right :)

 

For now for exemple, wen loading tabs/pages inside blesta I think there is 2 actions:

 

1º - The ajax page or tab loading

2º - The external content loading inside the page/tab

 

The first one (1º) is what is more conserning, so if there is a loading image/message wen we request a class="ajax", this message will display untill the 2nd (2º) action ends because I see this on all ajax requests:

 

class="ajax" <!--is wen an ajax request starts if Im Correct on a <a> hyperlink-->
That call a funtion (in admin theme) in here: app/views/admin/default/javascript/jquery-blesta-0.1.0.js
 
So the loading function have to be including in the file above, correct? and will eliminate more than 90% of all requests in admin wen loading ajax content.
 
Im not going to see the client side because the 3.2, and I know that after the release of 3.2 I will have some work to do to convert all my plugins and modules to bootstrap :)
Posted
  On 4/22/2014 at 9:06 AM, PauloV said:

 

For now for exemple, wen loading tabs/pages inside blesta I think there is 2 actions:

 

1º - The ajax page or tab loading

2º - The external content loading inside the page/tab

 

The first one (1º) is what is more conserning, so if there is a loading image/message wen we request a class="ajax", this message will display untill the 2nd (2º) action ends because I see this on all ajax requests:

 

class="ajax" <!--is wen an ajax request starts if Im Correct on a <a> hyperlink-->
That call a funtion (in admin theme) in here: app/views/admin/default/javascript/jquery-blesta-0.1.0.js
 
So the loading function have to be including in the file above, correct? and will eliminate more than 90% of all requests in admin wen loading ajax content.

 

Ah, the two points you described haven't been updated for v3.2, at least not with respect to the admin interface. We have a task, CORE-768, to set a loading icon for ajax requests, but it's currently incomplete and likely won't be in v3.2.

  • 11 months later...
Posted
  On 4/8/2015 at 7:27 PM, Jonathan said:

Big +1 on this.  Billing Overview widget takes forever when you have tons of data so without some form of a loading icon you never know if it's coming or not in the 3.5 ajax updates (http://dev.blesta.com/browse/CORE-1547) since it doesn't block the page.

 

Hello,

 

You can use my plugin :) Link: http://www.blesta.com/forums/index.php?/topic/2886-blesta-loading-admin-ajax-loading/

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...