git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a3600
)
slicetabinfo: delete slice clears creds
author
Yasin Rahman
<loic.baron@lip6.fr>
Fri, 3 Apr 2015 09:54:32 +0000
(11:54 +0200)
committer
Yasin Rahman
<loic.baron@lip6.fr>
Fri, 3 Apr 2015 09:54:32 +0000
(11:54 +0200)
portal/templates/slice-tab-info.html
patch
|
blob
|
history
diff --git
a/portal/templates/slice-tab-info.html
b/portal/templates/slice-tab-info.html
index
b304eca
..
9c3c553
100644
(file)
--- a/
portal/templates/slice-tab-info.html
+++ b/
portal/templates/slice-tab-info.html
@@
-60,6
+60,10
@@
$.post("/delete/slice/",{'filters':{'slice_hrn':'{{slice}}'}}, function(data) {
if(data.success){
localStorage.clear();
+ var user_email = [];
+ user_email.push ('{{username}}');
+ $.post("/credentials/clear/",{'emails':user_email}, function(data) {
+ }); // post credentials clear
mysliceAlert('Success: slice deleted','success', true);
}else{
mysliceAlert('Rest Error for: '+data.error,'warning', true);