True is a string
authorLoic Baron <loic.baron@lip6.fr>
Mon, 23 Nov 2015 17:22:27 +0000 (18:22 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Mon, 23 Nov 2015 17:22:27 +0000 (18:22 +0100)
manifoldapi/static/js/manifold.js

index 5b5e6af..98e5685 100644 (file)
@@ -1714,7 +1714,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');
                 if (is_reservable) {
                     // var warnings = manifold.query_store.get_record_state(query.query_uuid, record_key, STATE_WARNINGS);