Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos.core
Commits
c3608df3
Commit
c3608df3
authored
Apr 01, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Minor code style change
parent
ee874ba1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
...age_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
+6
-6
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
...ge_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.js
View file @
c3608df3
...
...
@@ -105,7 +105,7 @@
input
.
size
=
1
;
option
.
value
=
""
;
if
(
default_value
===
undefined
)
{
option
.
selected
=
"
selected
"
;
option
.
selected
=
true
;
}
input
.
appendChild
(
option
);
for
(
option_index
in
json_field
[
'
enum
'
])
{
...
...
@@ -114,7 +114,7 @@
optionz
.
value
=
json_field
[
'
enum
'
][
option_index
];
optionz
.
textContent
=
json_field
[
'
enum
'
][
option_index
];
if
(
json_field
[
'
enum
'
][
option_index
]
===
default_value
)
{
optionz
.
selected
=
"
selected
"
;
optionz
.
selected
=
true
;
}
input
.
appendChild
(
optionz
);
}
...
...
@@ -129,7 +129,7 @@
input
.
size
=
1
;
option
.
value
=
""
;
if
(
default_value
===
undefined
)
{
option
.
selected
=
"
selected
"
;
option
.
selected
=
true
;
}
input
.
appendChild
(
option
);
json_field
.
oneOf
.
forEach
(
function
(
element
,
index
)
{
...
...
@@ -145,7 +145,7 @@
optionz
.
value
=
value
;
optionz
.
textContent
=
element
.
title
;
if
(
value
===
default_value
)
{
optionz
.
selected
=
"
selected
"
;
optionz
.
selected
=
true
;
}
input
.
appendChild
(
optionz
);
}
...
...
@@ -839,7 +839,7 @@
if
(
option_index
===
lowest_option_index
)
{
option_selected
=
option
.
value
;
option
.
selected
=
"
selected
"
;
option
.
selected
=
true
;
option_selected_index
=
option_index
;
if
(
json
[
'
software-type
'
][
option_index
].
shared
===
true
)
{
parameter_shared
.
value
=
true
;
...
...
@@ -860,7 +860,7 @@
if
((
option_selected_index
===
undefined
)
&&
(
option
.
value
===
option_selected
)
&&
(
options
.
value
.
parameter
.
shared
==
json
[
'
software-type
'
][
option_index
].
shared
))
{
option
.
selected
=
"
selected
"
;
option
.
selected
=
true
;
option_selected_index
=
option_index
;
if
(
json
[
'
software-type
'
][
option_index
].
shared
===
true
)
{
parameter_shared
.
value
=
true
;
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_parameter_form_js.xml
View file @
c3608df3
...
...
@@ -280,7 +280,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
999.160
34.63838.57002
</string>
</value>
<value>
<string>
999.160
78.15960.6348
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -298,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>
1648
750934.27
</float>
<float>
1648
837055.39
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment