git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c6d77
)
TMP fix: base.html template Query myslice:user is faster than user
myslice-1.1
author
Loic Baron
<loic.baron@lip6.fr>
Tue, 23 Dec 2014 10:47:44 +0000
(11:47 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Tue, 23 Dec 2014 10:47:44 +0000
(11:47 +0100)
portal/templates/base.html
patch
|
blob
|
history
diff --git
a/portal/templates/base.html
b/portal/templates/base.html
index
9bc52dd
..
cc60f7f
100644
(file)
--- a/
portal/templates/base.html
+++ b/
portal/templates/base.html
@@
-55,7
+55,7
@@
$(document).ready(function() {
var slices = [];
if($.isEmptyObject(user)){
- $.post("/rest/user/",{'filters':{'user_hrn':'$user_hrn'}}, function( data ) {
+ $.post("/rest/
myslice:
user/",{'filters':{'user_hrn':'$user_hrn'}}, function( data ) {
if(data.length > 0){
drawSlices(data[0].slices);
}else{