git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Projects: Join project resquests
[myslice.git]
/
portal
/
templates
/
fed4fire
/
fed4fire_home-view.html
diff --git
a/portal/templates/fed4fire/fed4fire_home-view.html
b/portal/templates/fed4fire/fed4fire_home-view.html
index
ab31f9f
..
5d632b6
100644
(file)
--- a/
portal/templates/fed4fire/fed4fire_home-view.html
+++ b/
portal/templates/fed4fire/fed4fire_home-view.html
@@
-136,6
+136,11
@@
<script type="text/javascript">
$(document).ready(function() {
<script type="text/javascript">
$(document).ready(function() {
+ {%if 'no_creds' in user_cred or 'creds_expired' in user_cred %}
+ localStorage.clear();
+ $.post("/cache/clear/", function( data ) {
+ });
+ {% endif %}
$('a.home-tab').click(function() {
$('ul.nav-tabs li').removeClass('active');
$(this).parent().addClass('active');
$('a.home-tab').click(function() {
$('ul.nav-tabs li').removeClass('active');
$(this).parent().addClass('active');