couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garren Smith (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1802) Ajax loader helper
Date Fri, 07 Jun 2013 08:45:21 GMT


Garren Smith commented on COUCHDB-1802:

Adding the comment that I added on [github]( here

Hey [~deathbear]

I've been trying this out on, I really like what you have done here but we need to extend
this a little further. Currently the loader only gets displayed after the Route Object has
finished its establish(). Which means that there is still a lengthy period when the screen
is just blank. I think we need to add `disableLoader` and `loaderClassname` to the RouteObject
and then just after Line 256, in that `if` statement, add `$('#dashboard').addClass(routeObject.loaderClassname)`.
I did a quick hack of that and it makes it quite a bit better as it then has a loader on the
screen straight away. Obviously that loader has to be removed before we start displaying the
view loaders.
> Ajax loader helper
> ------------------
>                 Key: COUCHDB-1802
>                 URL:
>             Project: CouchDB
>          Issue Type: Task
>          Components: Fauxton
>            Reporter: Sue Lockwood
> Add helper method for adding ajax loader gifs to the UI when making calls.
> Needs to take id/classname, have add and remove functionality. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message