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
Genesys PGR
Genesys Backend
Commits
d7b43b00
Commit
d7b43b00
authored
Feb 13, 2014
by
Matija Obreza
Browse files
Don't hide selection counter when 0
parent
c78b9ece
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/html/js/crophub.js
View file @
d7b43b00
...
...
@@ -149,12 +149,12 @@ jQuery(document).ready(function() {
success
:
function
(
data
)
{
console
.
log
(
data
);
var
sc
=
$
(
"
#selcounter
"
);
if
(
data
.
count
==
0
)
{
sc
.
html
(
data
.
count
);
/*if (data.count==0) {
sc.hide();
} else {
sc
.
html
(
data
.
count
);
sc.show();
}
}
*/
},
error
:
function
(
error
)
{
if
(
action
==
'
add
'
)
{
...
...
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