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
(from parent 1:
79ffdb8
)
JS True is bool or string, testing both
author
Loic Baron
<loic.baron@lip6.fr>
Tue, 12 Jan 2016 16:16:25 +0000
(17:16 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Tue, 12 Jan 2016 16:16:25 +0000
(17:16 +0100)
manifoldapi/static/js/manifold.js
patch
|
blob
|
history
diff --git
a/manifoldapi/static/js/manifold.js
b/manifoldapi/static/js/manifold.js
index
d0d314e
..
305231e
100644
(file)
--- a/
manifoldapi/static/js/manifold.js
+++ b/
manifoldapi/static/js/manifold.js
@@
-1715,7
+1715,7
@@
case TYPE_LIST_OF_VALUES:
//
// +) If a reservable node is added to the slice, then it should have a corresponding lease
// XXX Not always a resource
- var is_reservable = (record.exclusive == 'true');
+ var is_reservable = (record.exclusive == 'true'
|| record.exclusive == true
);
if (is_reservable) {
// var warnings = manifold.query_store.get_record_state(query.query_uuid, record_key, STATE_WARNINGS);