Index: chrome/content/ui/sendReport.js |
=================================================================== |
--- a/chrome/content/ui/sendReport.js |
+++ b/chrome/content/ui/sendReport.js |
@@ -1152,16 +1152,26 @@ let dataCollectors = [reportsListDataSou |
subscriptionUpdateDataSource, issuesDataSource]; |
// |
// Wizard logic |
// |
function initWizard() |
{ |
+ const isRTL = (window.getComputedStyle(document.documentElement).direction == "rtl"); |
+ if(isRTL) |
+ { |
+ let progressLabels = Array.prototype.slice.call(E("progressBar").getElementsByTagName("label")); |
+ for(let i=progressLabels.length; i--;) |
+ { |
+ progressLabels[i].parentNode.appendChild(progressLabels[i]); |
+ } |
+ } |
+ |
Wladimir Palant
2012/09/14 21:20:40
This seems to be the wrong place to do that, it's
|
// Make sure no issue type is selected by default |
E("typeGroup").selectedItem = null; |
document.documentElement.addEventListener("pageshow", updateNextButton, false); |
// Move wizard header |
let header = document.getAnonymousElementByAttribute(document.documentElement, "class", "wizard-header"); |
if (header) |
{ |