summaryrefslogtreecommitdiffstats
path: root/extensions/REMO
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-02-13 16:36:05 +0100
committerByron Jones <bjones@mozilla.com>2012-02-13 16:36:05 +0100
commit88e0ac4cb8bd8932005341e47ee7310a956366d7 (patch)
treea5b6b0a2d8a430b2334b560d1edf767445486d2b /extensions/REMO
parent40f3f69f9abc0c8cd3e0b4f6fbb445227e7fd370 (diff)
downloadbugzilla-88e0ac4cb8bd8932005341e47ee7310a956366d7.tar.gz
bugzilla-88e0ac4cb8bd8932005341e47ee7310a956366d7.tar.xz
Bug 725923: backport bug 663835 to extend test coverage to extensions
Diffstat (limited to 'extensions/REMO')
-rw-r--r--extensions/REMO/web/js/swag.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/extensions/REMO/web/js/swag.js b/extensions/REMO/web/js/swag.js
index 47886b2a9..3b69bbab8 100644
--- a/extensions/REMO/web/js/swag.js
+++ b/extensions/REMO/web/js/swag.js
@@ -19,42 +19,42 @@ function evalToNumberString(numberString) {
function getTotal(item_array) {
var total = 0;
for(var i in item_array) {
- total += evalToNumber(document.getElementById(item_array[i]).value);
+ total += evalToNumber(document.getElementById(item_array[i]).value);
}
return total;
}
function calculateTotalSwag() {
document.getElementById('Totalswag').value =
- getTotal( new Array('Lanyards',
- 'Stickers',
- 'Bracelets',
- 'Tattoos',
- 'Buttons',
- 'Posters'));
+ getTotal( new Array('Lanyards',
+ 'Stickers',
+ 'Bracelets',
+ 'Tattoos',
+ 'Buttons',
+ 'Posters'));
}
function calculateTotalMensShirts() {
document.getElementById('mens_total').value =
- getTotal( new Array('mens_s',
- 'mens_m',
- 'mens_l',
- 'mens_xl',
- 'mens_xxl',
- 'mens_xxxl'));
+ getTotal( new Array('mens_s',
+ 'mens_m',
+ 'mens_l',
+ 'mens_xl',
+ 'mens_xxl',
+ 'mens_xxxl'));
}
function calculateTotalWomensShirts() {
document.getElementById('womens_total').value =
- getTotal( new Array('womens_s',
- 'womens_m',
- 'womens_l',
- 'womens_xl',
- 'womens_xxl',
- 'womens_xxxl'));
+ getTotal( new Array('womens_s',
+ 'womens_m',
+ 'womens_l',
+ 'womens_xl',
+ 'womens_xxl',
+ 'womens_xxxl'));
}