# HG changeset patch # User Mads Kiilerich # Date 2013-02-28 22:17:26 # Node ID cf3c2fce197e5a72356ce794438d68aad7ba3dd3 # Parent deb51ab0489155924bd7282cc6fa2b84fdc87aef pullrequest: show 'loading' while waiting for compare_url to load diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html --- a/rhodecode/templates/pullrequests/pullrequest.html +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -158,6 +158,7 @@ url = url.replace('__'+k+'__',rev_data[k]); } + YUD.get('pull_request_overview').innerHTML = "${_('Loading ...')}"; ypjax(url,'pull_request_overview', function(data){ var sel_box = YUQ('#pull_request_form #other_repo')[0]; var repo_name = sel_box.options[sel_box.selectedIndex].value;