Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
982d5feb
Commit
982d5feb
authored
Oct 17, 2017
by
Maxym Borodenko
Committed by
Matija Obreza
Oct 23, 2017
Browse files
Fixed JS errors in Explorer
parent
02d3c55e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/sourceapp/1/js/crophub.js
View file @
982d5feb
...
...
@@ -245,9 +245,11 @@ var GenesysFilterUtil = {
existInJson
:
function
(
input
,
key
,
jsonData
)
{
var
array
=
jsonData
[
key
];
for
(
var
i
=
array
.
length
-
1
;
i
>=
0
;
i
--
)
{
if
(
JSON
.
stringify
(
array
[
i
])
===
JSON
.
stringify
(
input
))
{
return
true
;
if
(
array
!==
undefined
)
{
for
(
var
i
=
array
.
length
-
1
;
i
>=
0
;
i
--
)
{
if
(
JSON
.
stringify
(
array
[
i
])
===
JSON
.
stringify
(
input
))
{
return
true
;
}
}
}
return
false
;
...
...
src/main/webapp/WEB-INF/jsp/accession/explore2.jsp
View file @
982d5feb
...
...
@@ -990,7 +990,7 @@
</c:when>
<c:when
test=
"
${
col
eq
'orgCty'
}
"
>
$
(
"
<p/>
"
,
{
text
:
messages
[
'
geo.iso3166-3.
'
+
pagedData
.
content
[
i
].
orgCty
.
iso3
]
text
:
pagedData
.
content
[
i
].
orgCty
!==
null
?
messages
[
'
geo.iso3166-3.
'
+
pagedData
.
content
[
i
].
orgCty
.
iso3
]
:
""
}).
appendTo
(
$
(
"
<td/>
"
,
{
'
class
'
:
"
notimportant
<c:if
test=
'
${
i
.
count
ge
2
}
'
>
hidden-xs
</c:if>
<c:if
test=
'
${
i
.
count
gt
2
}
'
>
hidden-sm
</c:if>
"
}).
appendTo
(
row
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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