tryton-sao 7.6.3 → 7.6.4
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.6.
|
|
6
|
+
__version__: '7.6.4',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -23218,11 +23218,13 @@ function eval_pyson(value){
|
|
|
23218
23218
|
}
|
|
23219
23219
|
listener.on('click.sao.editabletree', handler);
|
|
23220
23220
|
|
|
23221
|
-
|
|
23222
|
-
|
|
23221
|
+
// do not call super when editing row because the selection must
|
|
23222
|
+
// not be changed
|
|
23223
23223
|
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
23224
23224
|
(this.record === current_record)) {
|
|
23225
23225
|
this.tree.edit_row(this);
|
|
23226
|
+
} else {
|
|
23227
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
23226
23228
|
}
|
|
23227
23229
|
},
|
|
23228
23230
|
unset_editable: function() {
|
|
@@ -24195,6 +24197,7 @@ function eval_pyson(value){
|
|
|
24195
24197
|
if (states.invisible || states.readonly) {
|
|
24196
24198
|
return;
|
|
24197
24199
|
}
|
|
24200
|
+
event.stopImmediatePropagation();
|
|
24198
24201
|
button.el.prop('disabled', true); // state will be reset at display
|
|
24199
24202
|
var row = this.view.rows.find(function(row) {
|
|
24200
24203
|
return row.record == record;
|
package/package.json
CHANGED
package/src/sao.js
CHANGED
package/src/view/tree.js
CHANGED
|
@@ -2226,11 +2226,13 @@
|
|
|
2226
2226
|
}
|
|
2227
2227
|
listener.on('click.sao.editabletree', handler);
|
|
2228
2228
|
|
|
2229
|
-
|
|
2230
|
-
|
|
2229
|
+
// do not call super when editing row because the selection must
|
|
2230
|
+
// not be changed
|
|
2231
2231
|
if (!event_.shiftKey && !(event_.ctrlKey || event_.metaKey) &&
|
|
2232
2232
|
(this.record === current_record)) {
|
|
2233
2233
|
this.tree.edit_row(this);
|
|
2234
|
+
} else {
|
|
2235
|
+
Sao.View.Tree.RowEditable._super.select_row.call(this, event_);
|
|
2234
2236
|
}
|
|
2235
2237
|
},
|
|
2236
2238
|
unset_editable: function() {
|
|
@@ -3203,6 +3205,7 @@
|
|
|
3203
3205
|
if (states.invisible || states.readonly) {
|
|
3204
3206
|
return;
|
|
3205
3207
|
}
|
|
3208
|
+
event.stopImmediatePropagation();
|
|
3206
3209
|
button.el.prop('disabled', true); // state will be reset at display
|
|
3207
3210
|
var row = this.view.rows.find(function(row) {
|
|
3208
3211
|
return row.record == record;
|