зеркало из https://github.com/mozilla/gecko-dev.git
bug 375538, improve web for compare-locales a bit, r=rcampbell
This commit is contained in:
Родитель
9c75486154
Коммит
9939b9a073
|
@ -69,6 +69,7 @@ var comparisonView = {
|
|||
for each (k in subRes[mod][fl]) {
|
||||
keys.push(k);
|
||||
}
|
||||
keys.sort();
|
||||
new YAHOO.widget.HTMLNode("<pre>" + keys.join("\n") + "</pre>", fn, true, false);
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +79,9 @@ var comparisonView = {
|
|||
};
|
||||
var comparisonController = {
|
||||
__proto__: baseController,
|
||||
get path() {
|
||||
return 'results/' + this.tag + '/cmp-data.json';
|
||||
},
|
||||
beforeSelect: function() {
|
||||
this.result = {};
|
||||
this.isShown = false;
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
|
||||
var rssController = {
|
||||
__proto__: baseController,
|
||||
get path() {
|
||||
return 'results/' + this.tag + '/feed-reader-results.json';
|
||||
},
|
||||
beforeSelect: function() {
|
||||
this.hashes = {};
|
||||
rssView.setUpHandlers();
|
||||
|
|
|
@ -106,7 +106,9 @@ var waterfallView = {
|
|||
continue;
|
||||
}
|
||||
cell = view.getCell();
|
||||
cell.innerHTML = ' ';
|
||||
cell.innerHTML = '<a href="javascript:controller.showLog(\'' +
|
||||
b[0] + '\',\'' + loc + '\');">L</a> <a href="javascript:controller.showDetails(\'' +
|
||||
b[0] + '\',\'' + loc + '\');">B</a>';
|
||||
if (b[2][loc] & 2) {
|
||||
cell.className = 'busted ';
|
||||
}
|
||||
|
@ -152,6 +154,9 @@ var waterfallView = {
|
|||
};
|
||||
var waterfallController = {
|
||||
__proto__: baseController,
|
||||
get path() {
|
||||
return 'results/waterfall.json';
|
||||
},
|
||||
beforeSelect: function() {
|
||||
this.result = {};
|
||||
this.isShown = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче