tryton-sao 7.0.32 → 7.0.33
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 +8 -4
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/view/tree.js +7 -3
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.33',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -22333,10 +22333,13 @@ function eval_pyson(value){
|
|
|
22333
22333
|
}
|
|
22334
22334
|
listener.on('click.sao.editabletree', handler);
|
|
22335
22335
|
|
|
22336
|
-
|
|
22337
|
-
|
|
22338
|
-
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey)
|
|
22336
|
+
// do not call super when editing row because the selection must
|
|
22337
|
+
// not be changed
|
|
22338
|
+
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
22339
|
+
(this.record === current_record)) {
|
|
22339
22340
|
this.tree.edit_row(this);
|
|
22341
|
+
} else {
|
|
22342
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
22340
22343
|
}
|
|
22341
22344
|
},
|
|
22342
22345
|
unset_editable: function() {
|
|
@@ -23309,6 +23312,7 @@ function eval_pyson(value){
|
|
|
23309
23312
|
if (states.invisible || states.readonly) {
|
|
23310
23313
|
return;
|
|
23311
23314
|
}
|
|
23315
|
+
event.stopImmediatePropagation();
|
|
23312
23316
|
button.el.prop('disabled', true); // state will be reset at display
|
|
23313
23317
|
var row = this.view.rows.find(function(row) {
|
|
23314
23318
|
return row.record == record;
|