tryton-sao 7.4.13 → 7.4.14
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 +6 -3
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/view/tree.js +5 -2
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.4.
|
|
6
|
+
__version__: '7.4.14',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -22805,11 +22805,13 @@ function eval_pyson(value){
|
|
|
22805
22805
|
}
|
|
22806
22806
|
listener.on('click.sao.editabletree', handler);
|
|
22807
22807
|
|
|
22808
|
-
|
|
22809
|
-
|
|
22808
|
+
// do not call super when editing row because the selection must
|
|
22809
|
+
// not be changed
|
|
22810
22810
|
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
22811
22811
|
(this.record === current_record)) {
|
|
22812
22812
|
this.tree.edit_row(this);
|
|
22813
|
+
} else {
|
|
22814
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
22813
22815
|
}
|
|
22814
22816
|
},
|
|
22815
22817
|
unset_editable: function() {
|
|
@@ -23776,6 +23778,7 @@ function eval_pyson(value){
|
|
|
23776
23778
|
if (states.invisible || states.readonly) {
|
|
23777
23779
|
return;
|
|
23778
23780
|
}
|
|
23781
|
+
event.stopImmediatePropagation();
|
|
23779
23782
|
button.el.prop('disabled', true); // state will be reset at display
|
|
23780
23783
|
var row = this.view.rows.find(function(row) {
|
|
23781
23784
|
return row.record == record;
|
package/package.json
CHANGED
package/src/sao.js
CHANGED
package/src/view/tree.js
CHANGED
|
@@ -2050,11 +2050,13 @@
|
|
|
2050
2050
|
}
|
|
2051
2051
|
listener.on('click.sao.editabletree', handler);
|
|
2052
2052
|
|
|
2053
|
-
|
|
2054
|
-
|
|
2053
|
+
// do not call super when editing row because the selection must
|
|
2054
|
+
// not be changed
|
|
2055
2055
|
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
2056
2056
|
(this.record === current_record)) {
|
|
2057
2057
|
this.tree.edit_row(this);
|
|
2058
|
+
} else {
|
|
2059
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
2058
2060
|
}
|
|
2059
2061
|
},
|
|
2060
2062
|
unset_editable: function() {
|
|
@@ -3021,6 +3023,7 @@
|
|
|
3021
3023
|
if (states.invisible || states.readonly) {
|
|
3022
3024
|
return;
|
|
3023
3025
|
}
|
|
3026
|
+
event.stopImmediatePropagation();
|
|
3024
3027
|
button.el.prop('disabled', true); // state will be reset at display
|
|
3025
3028
|
var row = this.view.rows.find(function(row) {
|
|
3026
3029
|
return row.record == record;
|