Submitter | Alexander Plavin |
---|---|
Date | Sept. 19, 2013, 12:37 p.m. |
Message ID | <83b62633254130572dcb.1379594259@debian-alexander.dolgopa> |
Download | mbox | patch |
Permalink | /patch/2535/ |
State | Accepted |
Headers | show |
Comments
Patch
diff -r c3f4ef933617 -r 83b626332541 mercurial/templates/static/mercurial.js --- a/mercurial/templates/static/mercurial.js Fri Sep 06 13:30:58 2013 +0400 +++ b/mercurial/templates/static/mercurial.js Fri Sep 06 13:30:58 2013 +0400 @@ -380,6 +380,11 @@ format(urlFormat, {hash: nextHash}), 'GET', function onstart() { + var message = { + class: 'scroll-loading', + text: 'Loading...' + }; + appendFormatHTML(container, messageFormat, message); }, function onsuccess(htmlText) { var m = htmlText.match(nextHashRegex); @@ -397,6 +402,7 @@ function onerror(errorText) { }, function oncomplete() { + removeByClassName('scroll-loading'); updateInitiated = false; scrollHandler(); }