tryton-sao 6.0.62 → 6.0.63
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 +7 -3
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/view/tree.js +7 -3
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -21253,10 +21253,13 @@ function eval_pyson(value){
|
|
|
21253
21253
|
}
|
|
21254
21254
|
listener.on('click.sao.editabletree', handler);
|
|
21255
21255
|
|
|
21256
|
-
|
|
21257
|
-
|
|
21258
|
-
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey)
|
|
21256
|
+
// do not call super when editing row because the selection must
|
|
21257
|
+
// not be changed
|
|
21258
|
+
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
21259
|
+
(this.record === current_record)) {
|
|
21259
21260
|
this.tree.edit_row(this);
|
|
21261
|
+
} else {
|
|
21262
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
21260
21263
|
}
|
|
21261
21264
|
},
|
|
21262
21265
|
unset_editable: function() {
|
|
@@ -22092,6 +22095,7 @@ function eval_pyson(value){
|
|
|
22092
22095
|
if (states.invisible || states.readonly) {
|
|
22093
22096
|
return;
|
|
22094
22097
|
}
|
|
22098
|
+
event.stopImmediatePropagation();
|
|
22095
22099
|
button.el.prop('disabled', true); // state will be reset at display
|
|
22096
22100
|
var row = this.view.rows.find(function(row) {
|
|
22097
22101
|
return row.record == record;
|