Merge lp:~stevanr/linaro-android-frontend/bug-1071769 into lp:linaro-android-frontend

Proposed by Stevan Radaković
Status: Merged
Approved by: Georgy Redkozubov
Approved revision: 291
Merged at revision: 291
Proposed branch: lp:~stevanr/linaro-android-frontend/bug-1071769
Merge into: lp:linaro-android-frontend
Diff against target: 26 lines (+16/-0)
1 file modified
static/buildDetails.js (+16/-0)
To merge this branch: bzr merge lp:~stevanr/linaro-android-frontend/bug-1071769
Reviewer Review Type Date Requested Status
Georgy Redkozubov Approve
Review via email: mp+131911@code.launchpad.net

Description of the change

Regression fix for bug 1071769.

To post a comment you must log in.
Revision history for this message
Georgy Redkozubov (gesha) wrote :

Thanks for finding the removed lines.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'static/buildDetails.js'
2--- static/buildDetails.js 2012-10-25 13:57:55 +0000
3+++ static/buildDetails.js 2012-10-29 14:06:22 +0000
4@@ -348,6 +348,22 @@
5 var buildConfig;
6
7 function refreshFromScratch() {
8+ Y.io(
9+ '../../../api/is-daily?build=' + rawBuildName,
10+ {
11+ on: {
12+ success: function (e, response) {
13+ var result = Y.JSON.parse(response.responseText);
14+ if (result) {
15+ Y.one('#not-built-daily').addClass('hidden');
16+ } else {
17+ Y.one('#not-built-daily').removeClass('hidden');
18+ }
19+ Y.one('#built-daily-details').removeClass('hidden');
20+ }
21+ }
22+ }
23+ );
24
25 Y.io(
26 jobUrl + "/api/json?tree=" + treeExp,

Subscribers

People subscribed via source and target branches