tryton-sao 6.4.2 → 6.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +3 -0
- package/dist/tryton-sao.js +7 -1
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/window.js +7 -1
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -23713,6 +23713,9 @@ function eval_pyson(value){
|
|
|
23713
23713
|
this.__messages = new Set();
|
|
23714
23714
|
},
|
|
23715
23715
|
add: function(message, type) {
|
|
23716
|
+
if (!message) {
|
|
23717
|
+
return;
|
|
23718
|
+
}
|
|
23716
23719
|
var key = JSON.stringify([message, type]);
|
|
23717
23720
|
if (!this.__messages.has(key)) {
|
|
23718
23721
|
var infobar = jQuery('<div/>', {
|
|
@@ -25767,7 +25770,10 @@ function eval_pyson(value){
|
|
|
25767
25770
|
val, {'s': 1, 'm': 60, 'h': 60 * 60});
|
|
25768
25771
|
} else if (!isNaN(Number(val))) {
|
|
25769
25772
|
val = val.toLocaleString(
|
|
25770
|
-
Sao.i18n.BC47(Sao.i18n.getlang())
|
|
25773
|
+
Sao.i18n.BC47(Sao.i18n.getlang()), {
|
|
25774
|
+
'minimumFractionDigits': 0,
|
|
25775
|
+
'maximumFractionDigits': 20,
|
|
25776
|
+
});
|
|
25771
25777
|
}
|
|
25772
25778
|
} else if (val.isTimeDelta) {
|
|
25773
25779
|
val = val.asSeconds();
|