Do not display form symbol in edited cell

issue9818
review312901002
This commit is contained in:
Cédric Krier committed 2020-11-23 23:45:22 +01:00
1 parent 07732e9d28
commit 5e7cfa239c
2 files changed
+8

No files matched your search

+4
View File
@@ -441,6 +441,10 @@ img.icon {
display: flex;
justify-content: space-between;
> * {
align-self: center;
}
.widget, .widget-editable {
min-width: 0;
flex-grow: 2;
+4
View File
@@ -2647,6 +2647,8 @@
Sao.View.EditableTree.Integer = Sao.class_(Sao.View.Form.Integer, {
class_: 'editabletree-integer',
init: function(view, attributes) {
attributes = jQuery.extend({}, attributes);
delete attributes.symbol;
Sao.View.EditableTree.Integer._super.init.call(
this, view, attributes);
Sao.View.EditableTree.editable_mixin(this);
@@ -2659,6 +2661,8 @@
Sao.View.EditableTree.Float = Sao.class_(Sao.View.Form.Float, {
class_: 'editabletree-float',
init: function(view, attributes) {
attributes = jQuery.extend({}, attributes);
delete attributes.symbol;
Sao.View.EditableTree.Float._super.init.call(
this, view, attributes);
Sao.View.EditableTree.editable_mixin(this);