Show More
@@ -89,7 +89,7 b' class RepoChangelogView(RepoAppView):' | |||
|
89 | 89 | data = dict( |
|
90 | 90 | raw_id=commit.raw_id, |
|
91 | 91 | idx=commit.idx, |
|
92 |
branch= |
|
|
92 | branch=None, | |
|
93 | 93 | ) |
|
94 | 94 | if parents: |
|
95 | 95 | data['parents'] = [ |
@@ -145,7 +145,7 b' var CommitsController = function () {' | |||
|
145 | 145 | this.loadNext = function (node, page, branch, commit_id, f_path) { |
|
146 | 146 | var loadUrl = this.getChunkUrl(page, 'next', branch, commit_id, f_path); |
|
147 | 147 | var postData = {'graph': JSON.stringify(this.getCurrentGraphData())}; |
|
148 | ||
|
148 | $(node).html('loading...').addClass('disabled').css({'cursor':'default'}); | |
|
149 | 149 | $.post(loadUrl, postData, function (data) { |
|
150 | 150 | $(node).closest('tbody').append(data); |
|
151 | 151 | $(node).closest('td').remove(); |
@@ -156,7 +156,7 b' var CommitsController = function () {' | |||
|
156 | 156 | this.loadPrev = function (node, page, branch, commit_id, f_path) { |
|
157 | 157 | var loadUrl = this.getChunkUrl(page, 'prev', branch, commit_id, f_path); |
|
158 | 158 | var postData = {'graph': JSON.stringify(this.getCurrentGraphData())}; |
|
159 | ||
|
159 | $(node).html('loading...').addClass('disabled').css({'cursor':'default'}); | |
|
160 | 160 | $.post(loadUrl, postData, function (data) { |
|
161 | 161 | $(node).closest('tbody').prepend(data); |
|
162 | 162 | $(node).closest('td').remove(); |
General Comments 0
You need to be logged in to leave comments.
Login now