summaryrefslogtreecommitdiffstats
path: root/extensions/OrangeFactor/web
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-09-13 18:46:33 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-09-13 18:46:33 +0200
commit84a62d37eb8f83f1edb287abc530b5c9967a1218 (patch)
tree4c5d2bd989e0611e5a72d483032664121bd22f46 /extensions/OrangeFactor/web
parentc0451185773b3e4d0e8a66fc0d1612cb8185542b (diff)
downloadbugzilla-84a62d37eb8f83f1edb287abc530b5c9967a1218.tar.gz
bugzilla-84a62d37eb8f83f1edb287abc530b5c9967a1218.tar.xz
Bug 791000 - Only pull data from trunk
Diffstat (limited to 'extensions/OrangeFactor/web')
-rw-r--r--extensions/OrangeFactor/web/js/orange_factor.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/OrangeFactor/web/js/orange_factor.js b/extensions/OrangeFactor/web/js/orange_factor.js
index 71ab765dc..da993580d 100644
--- a/extensions/OrangeFactor/web/js/orange_factor.js
+++ b/extensions/OrangeFactor/web/js/orange_factor.js
@@ -54,7 +54,8 @@ OrangeFactor.displayGraph = function (dayCounts) {
OrangeFactor.displayCount = function (count) {
var countContainer = YAHOO.util.Dom.get('orange-count');
- countContainer.innerHTML = encodeURIComponent(count) + ' failures in the past week';
+ countContainer.innerHTML = encodeURIComponent(count) +
+ ' failures on trunk in the past week';
}
OrangeFactor.dateString = function (date) {
@@ -74,7 +75,8 @@ OrangeFactor.getCurrentDateMs = function () {
OrangeFactor.orangify = function () {
var bugId = document.forms['changeform'].id.value;
var url = "https://brasstacks.mozilla.com/orangefactor/api/count?" +
- "bugid=" + encodeURIComponent(bugId) +
+ "bugid=" + encodeURIComponent(bugId) +
+ "&tree=trunk" +
"&callback=OrangeFactor.getOrangeCount";
var script = document.createElement('script');
Dom.setAttribute(script, 'src', url);