From 73d9384890d0d32b3957012708f502424469d1f0 Mon Sep 17 00:00:00 2001
From: Loic Baron <loic.baron@lip6.fr>
Date: Tue, 12 Jan 2016 17:16:25 +0100
Subject: [PATCH] JS True is bool or string, testing both

---
 manifoldapi/static/js/manifold.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifoldapi/static/js/manifold.js b/manifoldapi/static/js/manifold.js
index d0d314ea..305231e0 100644
--- 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);
 
-- 
2.47.0