git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use SliceList rather than SimpleList
[unfold.git]
/
plugins
/
static
/
js
/
simplelist.js
diff --git
a/plugins/static/js/simplelist.js
b/plugins/static/js/simplelist.js
index
120c6f9
..
c49456b
100644
(file)
--- a/
plugins/static/js/simplelist.js
+++ b/
plugins/static/js/simplelist.js
@@
-64,6
+64,7
@@
simplelist_debug=false;
}
var options = e.data.data().SimpleList.options;
var is_cached = options.query.timestamp != 'now' ? true : false;
}
var options = e.data.data().SimpleList.options;
var is_cached = options.query.timestamp != 'now' ? true : false;
+ // here is where we use 'key' and 'value' from the SimpleList (python) constructor
html_code=myslice_html_ul(rows, options.key, options.value, is_cached)+"<br/>";
e.data.html(html_code);
var $elt = e.data;
html_code=myslice_html_ul(rows, options.key, options.value, is_cached)+"<br/>";
e.data.html(html_code);
var $elt = e.data;