Commit f3fc79cf authored by CardBook's avatar CardBook

version 34.8

parent 02fd7e5c
......@@ -72,9 +72,10 @@ if ("undefined" == typeof(cardbookElementTools)) {
},
addProgressmeter: function (aParent, aId, aParameters) {
var aProgressmeter = document.createElement('progressmeter');
var aProgressmeter = document.createElementNS("http://www.w3.org/1999/xhtml","progress");
aParent.appendChild(aProgressmeter);
aProgressmeter.setAttribute('id', aId);
aProgressmeter.setAttribute('max', "100");
for (var prop in aParameters) {
aProgressmeter.setAttribute(prop, aParameters[prop]);
......
......@@ -160,7 +160,7 @@
<statusbarpanel id="component-bar"/>
<statusbarpanel id="statusText" crop="right" flex="1"/>
<statusbarpanel class="statusbarpanel-progress" id="statusbar-progresspanel" collapsed="true">
<html:progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
<html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
</statusbarpanel>
<statusbarpanel id="unreadMessageCount" hidden="true"/>
<statusbarpanel id="totalMessageCount" hidden="true" onclick="wdw_cardbook.openLogEdition();"/>
......
......@@ -24,7 +24,7 @@ if ("undefined" == typeof(wdw_logEdition)) {
if (!(document.getElementById("bulkProgressmeter_" + dirPrefId))) {
var currentRow = cardbookElementTools.addGridRow(document.getElementById("bulkOperationRows"), 'bulkOperationRow_' + dirPrefId, {align: 'center'});
cardbookElementTools.addLabel(currentRow, 'bulkOperationRowLabel_' + dirPrefId, cardbookPreferences.getName(dirPrefId), 'bulkOperationProgressmeter_' + dirPrefId);
cardbookElementTools.addProgressmeter(currentRow, "bulkProgressmeter_" + dirPrefId, {mode: "determined"});
cardbookElementTools.addProgressmeter(currentRow, "bulkProgressmeter_" + dirPrefId);
}
var value = Math.round(done / total * 100);
document.getElementById("bulkProgressmeter_" + dirPrefId).value = value;
......
......@@ -7,6 +7,7 @@
]>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="wdw_bulkOperation.load();" resizable="true"
onclose="wdw_bulkOperation.cancel();"
id="wdw_bulkOperation" title="&wdw_bulkOperationTitle;"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment