Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
8344c388
Commit
8344c388
authored
Feb 26, 2019
by
Clément Damiens
Browse files
fix live with costum contextualisé
parent
615b1501
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/app/live.php
View file @
8344c388
...
...
@@ -241,7 +241,7 @@ function startNewsSearch(isFirst){
var
urlCtrl
=
"
/news/co/index/type/city/isLive/true
"
;
if
(
typeof
liveParams
!=
"
undefined
"
){
if
(
typeof
liveParams
.
slug
!=
"
undefined
"
&&
notNull
(
costum
))
urlCtrl
=
"
/news/co/index/type/
"
+
costum
.
t
ype
+
"
/id/
"
+
costum
.
i
d
;
urlCtrl
=
"
/news/co/index/type/
"
+
costum
.
contextT
ype
+
"
/id/
"
+
costum
.
contextI
d
;
if
(
typeof
liveParams
.
formCreate
!=
"
undefined
"
)
urlCtrl
+=
"
/formCreate/false
"
;
}
...
...
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