tryton-sao 7.0.34 → 7.0.35
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 +5 -0
- package/dist/tryton-sao.js +15 -5
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/view/list_form.js +11 -3
- package/src/window.js +3 -1
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-redeclare */
|
|
5
5
|
var Sao = {
|
|
6
|
-
__version__: '7.0.
|
|
6
|
+
__version__: '7.0.35',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -24479,12 +24479,20 @@ function eval_pyson(value){
|
|
|
24479
24479
|
}
|
|
24480
24480
|
this.select_records(i, next_form_idx);
|
|
24481
24481
|
} else {
|
|
24482
|
+
let selected = next_view_form.el.parent().hasClass(
|
|
24483
|
+
'list-group-item-selected')
|
|
24482
24484
|
if (!(event_.ctrlKey || event_.metaKey)) {
|
|
24483
24485
|
this.select_records(null, null);
|
|
24484
24486
|
}
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
|
|
24487
|
+
if (selected) {
|
|
24488
|
+
next_view_form.el.parent()
|
|
24489
|
+
.removeClass('list-group-item-selected');
|
|
24490
|
+
this.record = null;
|
|
24491
|
+
} else {
|
|
24492
|
+
next_view_form.el.parent()
|
|
24493
|
+
.addClass('list-group-item-selected');
|
|
24494
|
+
this.record = next_view_form.record;
|
|
24495
|
+
}
|
|
24488
24496
|
}
|
|
24489
24497
|
if (current_view_form) {
|
|
24490
24498
|
this.record = current_view_form.record;
|
|
@@ -25574,12 +25582,14 @@ function eval_pyson(value){
|
|
|
25574
25582
|
if (date) {
|
|
25575
25583
|
date = Sao.common.format_datetime(
|
|
25576
25584
|
Sao.common.date_format() + ' %H:%M:%S', date);
|
|
25585
|
+
} else {
|
|
25586
|
+
date = '';
|
|
25577
25587
|
}
|
|
25578
25588
|
input = jQuery('<input/>', {
|
|
25579
25589
|
'readonly': true,
|
|
25580
25590
|
'class': 'form-control input-sm',
|
|
25581
25591
|
'aria-labelledby': label.attr('id'),
|
|
25582
|
-
}).val(date
|
|
25592
|
+
}).val(date).appendTo(cell);
|
|
25583
25593
|
input.css('width', date.length + 'ch');
|
|
25584
25594
|
input.uniqueId();
|
|
25585
25595
|
});
|