X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fslice-tab-info.html;h=9c3c55338ce6fdadd53afe23ca9641edb006dd4a;hb=fcb529f9c21f0868896e7721eafad153a4a071bb;hp=b304ecaae67dcc081162cd59bbe7a1102ef4cd03;hpb=86006b309677338c1bbedbdab511e0ab3823ef7c;p=unfold.git diff --git a/portal/templates/slice-tab-info.html b/portal/templates/slice-tab-info.html index b304ecaa..9c3c5533 100644 --- 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);