[ 
https://issues.apache.org/jira/browse/COUCHDB-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677895#comment-13677895
 ] 

Garren Smith commented on COUCHDB-1802:
---------------------------------------

Adding the comment that I added on 
[github](https://github.com/apache/couchdb/pull/63) 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: https://issues.apache.org/jira/browse/COUCHDB-1802
>             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: http://www.atlassian.com/software/jira

Reply via email to