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
Lu Xu
slapos.core
Commits
f7d5a21f
Commit
f7d5a21f
authored
Mar 26, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web: input can be null also
parent
4465b69e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
master/bt5/slapos_web/PathTemplateItem/web_page_module/rjs_slapos_parameter_form_js.xml
...lateItem/web_page_module/rjs_slapos_parameter_form_js.xml
+4
-4
No files found.
master/bt5/slapos_web/PathTemplateItem/web_page_module/rjs_slapos_parameter_form_js.xml
View file @
f7d5a21f
...
@@ -400,7 +400,7 @@
...
@@ -400,7 +400,7 @@
function
getSoftwareTypeFromForm(element)
{\n
function
getSoftwareTypeFromForm(element)
{\n
var
input =
element.querySelector(".slapos-software-type");\n
var
input =
element.querySelector(".slapos-software-type");\n
\n
\n
if
(input
!==
undefined)
{\n
if
(input
!==
undefined
&&
input
!==
null
)
{\n
return
input.value;\n
return
input.value;\n
}\n
}\n
return
"";\n
return
"";\n
...
@@ -409,7 +409,7 @@
...
@@ -409,7 +409,7 @@
function
getSerialisationTypeFromForm(element)
{\n
function
getSerialisationTypeFromForm(element)
{\n
var
input =
element.querySelector(".slapos-serialisation-type");\n
var
input =
element.querySelector(".slapos-serialisation-type");\n
\n
\n
if
(input
!==
undefined)
{\n
if
(input
!==
undefined
&&
input
!==
null
)
{\n
return
input.value;\n
return
input.value;\n
}\n
}\n
return
"";\n
return
"";\n
...
@@ -831,7 +831,7 @@
...
@@ -831,7 +831,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
941.5
7622.23194.30685
</string>
</value>
<value>
<string>
941.5
8456.37859.54289
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -849,7 +849,7 @@
...
@@ -849,7 +849,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14272
75105.86
</float>
<float>
14272
89240.71
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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