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:
bf1149f
)
Projects: loading on login on the Dashboard
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 21 Jan 2015 18:13:25 +0000
(19:13 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 21 Jan 2015 18:13:25 +0000
(19:13 +0100)
portal/static/js/myslice.js
patch
|
blob
|
history
diff --git
a/portal/static/js/myslice.js
b/portal/static/js/myslice.js
index
40cf8a2
..
213a271
100644
(file)
--- a/
portal/static/js/myslice.js
+++ b/
portal/static/js/myslice.js
@@
-204,11
+204,10
@@
var myslice = {
// REGISTRY ONLY TO BE REMOVED WITH MANIFOLD-V2
$.post("/rest/myslice:authority/",{'fields':['authority_hrn'],'filters':{'authority_hrn':'CONTAINS'+parent_authority}}, function( data ) {
localStorage.setItem('projects', JSON.stringify(data));
+ if(isFunction(fn)){
+ fn();
+ }
});
- }else{
- if(isFunction(fn)){
- fn();
- }
}
}