Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
UniProt
Front End
QuickGoFE
Commits
b1c4d5d5
Commit
b1c4d5d5
authored
Oct 07, 2019
by
Mahdi
Committed by
Xavier Watkins
Oct 07, 2019
Browse files
hot fix for the broken clear basket button (#197)
parent
ed04f3f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/scripts/services/basketService.js
app/scripts/services/basketService.js
+6
-1
No files found.
app/scripts/services/basketService.js
View file @
b1c4d5d5
...
...
@@ -31,7 +31,12 @@ basketModule.factory('basketService', function($cookies, termService, $q) {
}
basketList
.
saveCookies
=
function
(
items
)
{
var
cookieValue
=
items
.
join
(
'
,
'
);
var
cookieValue
=
items
;
if
(
items
instanceof
Array
)
{
cookieValue
=
items
.
join
(
'
,
'
);
}
$cookies
.
put
(
cookieName
,
cookieValue
);
}
...
...
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