Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
dc496f7e
Commit
dc496f7e
authored
5 years ago
by
Johannes Goderbauer
Browse files
Options
Downloads
Patches
Plain Diff
fix #1046081: keyword-attributes: clicking in edit mode made the text dissapear
parent
9b9c81d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
entity/KeywordAttributeRelation_entity/entityfields/valueproxy/valueProcess.js
+21
-18
21 additions, 18 deletions
...teRelation_entity/entityfields/valueproxy/valueProcess.js
with
21 additions
and
18 deletions
entity/KeywordAttributeRelation_entity/entityfields/valueproxy/valueProcess.js
+
21
−
18
View file @
dc496f7e
import
(
"
system.result
"
);
import
(
"
system.vars
"
);
var
type
=
vars
.
get
(
"
$field.attributeType
"
);
var
value
;
switch
(
type
)
var
value
=
vars
.
get
(
"
$this.value
"
);
if
(
!
value
)
{
case
"
BOOL_VALUE
"
:
value
=
vars
.
get
(
"
$field.BOOL_VALUE
"
);
break
;
case
"
NUMBER_VALUE
"
:
value
=
vars
.
get
(
"
$field.NUMBER_VALUE
"
);
break
;
case
"
CHAR_VALUE
"
:
value
=
vars
.
get
(
"
$field.CHAR_VALUE
"
);
break
;
case
"
LONG_CHAR_VALUE
"
:
value
=
vars
.
get
(
"
$field.LONG_CHAR_VALUE
"
);
break
;
default
:
value
=
null
;
break
;
var
type
=
vars
.
get
(
"
$field.attributeType
"
);
switch
(
type
)
{
case
"
BOOL_VALUE
"
:
value
=
vars
.
get
(
"
$field.BOOL_VALUE
"
);
break
;
case
"
NUMBER_VALUE
"
:
value
=
vars
.
get
(
"
$field.NUMBER_VALUE
"
);
break
;
case
"
CHAR_VALUE
"
:
value
=
vars
.
get
(
"
$field.CHAR_VALUE
"
);
break
;
case
"
LONG_CHAR_VALUE
"
:
value
=
vars
.
get
(
"
$field.LONG_CHAR_VALUE
"
);
break
;
default
:
value
=
null
;
break
;
}
}
result
.
string
(
value
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Johannes Goderbauer
@j.goderbauer
mentioned in commit
e59347f5
·
5 years ago
mentioned in commit
e59347f5
mentioned in commit e59347f5ed321f57cc42dc8e446a6f4d60cfa23f
Toggle commit list
Johannes Goderbauer
@j.goderbauer
mentioned in commit
574c282b
·
5 years ago
mentioned in commit
574c282b
mentioned in commit 574c282b79e2c51cfe2bffce937386dcd5910ed5
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment