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
Cédric Le Ninivin
slapos.core
Commits
af4e4819
Commit
af4e4819
authored
Sep 20, 2019
by
Thomas Gambier
🚴🏼
Committed by
Rafael Monnerat
Sep 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: fix lint for gadget_erp5_page_slap_computer_view.js
parent
afeff2aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_view_js.js
...page_module/rjs_gadget_erp5_page_slap_computer_view_js.js
+14
-14
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_view_js.js
View file @
af4e4819
/*global window, rJS, RSVP
, jIO, Blob
*/
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
jIO
,
Blob
)
{
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
"
use strict
"
;
rJS
(
window
)
rJS
(
window
)
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
})
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
data
;
var
gadget
=
this
;
// Follow up changeState API but it is requires to actually
// Follow up changeState API but it is requires to actually
// re-render the form to hide allocation scope
// re-render the form to hide allocation scope
gadget
.
state
=
{
gadget
.
state
=
{
...
@@ -102,8 +102,7 @@
...
@@ -102,8 +102,7 @@
]);
]);
})
})
.
push
(
function
(
results
)
{
.
push
(
function
(
results
)
{
var
editable
=
gadget
.
state
.
editable
,
var
form_gadget
=
results
[
0
],
form_gadget
=
results
[
0
],
computer_network_list
=
[[
""
,
""
]],
computer_network_list
=
[[
""
,
""
]],
column_list
=
[
column_list
=
[
[
'
SoftwareInstallation_getSoftwareReleaseInformation
'
,
'
Software Release
'
],
[
'
SoftwareInstallation_getSoftwareReleaseInformation
'
,
'
Software Release
'
],
...
@@ -132,12 +131,13 @@
...
@@ -132,12 +131,13 @@
[
'
Open for Personal use only
'
,
'
open/personal
'
],
[
'
Open for Personal use only
'
,
'
open/personal
'
],
[
'
Open Public
'
,
'
open/public
'
],
[
'
Open Public
'
,
'
open/public
'
],
[
'
Open for Subscribers only
'
,
'
open/subscription
'
]],
[
'
Open for Subscribers only
'
,
'
open/subscription
'
]],
i
,
value
,
len
=
results
[
1
].
data
.
total_rows
;
i
,
len
=
results
[
1
].
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
computer_network_list
.
push
([
computer_network_list
.
push
([
results
[
1
].
data
.
rows
[
i
].
value
.
title
?
results
[
1
].
data
.
rows
[
i
].
value
.
title
:
results
[
1
].
data
.
rows
[
i
].
value
.
reference
,
results
[
1
].
data
.
rows
[
i
].
value
.
title
||
results
[
1
].
data
.
rows
[
i
].
value
.
reference
,
results
[
1
].
data
.
rows
[
i
].
id
results
[
1
].
data
.
rows
[
i
].
id
]);
]);
}
}
...
@@ -356,4 +356,4 @@
...
@@ -356,4 +356,4 @@
return
gadget
.
updateHeader
(
header_dict
);
return
gadget
.
updateHeader
(
header_dict
);
});
});
});
});
}(
window
,
rJS
,
RSVP
,
jIO
,
Blob
));
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
\ No newline at end of file
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