Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
53a9390e
Commit
53a9390e
authored
Mar 15, 2021
by
frankiejol
Browse files
refactor(frontend): vars have to be declared now
parent
f8fc6201
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Domain.pm
View file @
53a9390e
...
...
@@ -3006,7 +3006,7 @@ sub exposed_port($self, $search, $value=undef) {
if
(
$search
=~
/^\d+$/
)
{
return
$port
if
$port
->
{
internal_port
}
eq
$search
;
}
else
{
return
$port
if
$port
->
{
name
}
eq
$search
;
return
$port
if
defined
$port
->
{
name
}
&&
$port
->
{
name
}
eq
$search
;
}
}
return
;
...
...
public/js/ravada.js
View file @
53a9390e
...
...
@@ -563,7 +563,7 @@
})
).
then
(
function
(
response
)
{
// if there are many , we pick the last one
id_request
=
response
.
data
.
request
;
var
id_request
=
response
.
data
.
request
;
subscribe_request
(
id_request
,
function
(
data
)
{
$scope
.
$apply
(
function
()
{
$scope
.
copy_request
=
data
;
...
...
Write
Preview
Supports
Markdown
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