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
311e38cd
Commit
311e38cd
authored
May 04, 2017
by
fv3rdugo
Browse files
Fix network form goes to network list
parent
1f7abc8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
rvd_front.pl
View file @
311e38cd
...
...
@@ -205,14 +205,15 @@ sub networks {
my
$c
=
shift
;
if
(
$c
->
param
('
name
')
&&
$c
->
param
('
address
')
)
{
Ravada::
Network
->
new
(
name
=>
$c
->
param
('
name
'),
address
=>
$c
->
param
('
address
'),
description
=>
$c
->
param
('
description
'),
all_domains
=>
$c
->
param
('
all_domains
'),
no_domains
=>
$c
->
param
('
no_domains
'),
n_order
=>
$c
->
param
('
n_order
'),
requires_password
=>
$c
->
param
('
requires_password
')
)
Ravada::
Network
->
new
(
name
=>
$c
->
param
('
name
'),
address
=>
$c
->
param
('
address
'),
description
=>
$c
->
param
('
description
'),
all_domains
=>
$c
->
param
('
all_domains
'),
no_domains
=>
$c
->
param
('
no_domains
'),
n_order
=>
$c
->
param
('
n_order
'),
requires_password
=>
$c
->
param
('
requires_password
')
);
return
$c
->
render
(
template
=>
'
main/networks
');
}
push
@
{
$c
->
stash
->
{
js
}},
'
/js/admin.js
';
$c
->
render
(
template
=>
'
main/new_networks
');
...
...
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