From 0b5c8ea9833989f62c0c739b60f43e37291d71c5 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Sun, 9 Feb 2014 17:24:12 -0800 Subject: [PATCH] Adding readOnly option. Closing #119. --- demo.html | 2 ++ index.html | 2 +- lib/css/workspace.css | 15 +++++++++ lib/js/templates/search_box.jst | 2 +- lib/js/templates/search_facet.jst | 2 +- lib/js/templates/search_input.jst | 2 +- lib/js/templates/templates.js | 6 ++-- lib/js/views/search_box.js | 11 ++++-- lib/js/views/search_facet.js | 56 +++++++++++++++++-------------- lib/js/views/search_input.js | 9 +++-- lib/js/visualsearch.js | 3 +- 11 files changed, 71 insertions(+), 39 deletions(-) diff --git a/demo.html b/demo.html index 4d69666..0251024 100644 --- a/demo.html +++ b/demo.html @@ -188,6 +188,7 @@

Demo Try searching for: account, container : $('#search_box_container'), query : 'country: "United States" account: 5-samuel "U.S. State": California', showFacets : true, + readOnly : false, unquotable : [ 'text', 'account', @@ -328,6 +329,7 @@

Demo Try searching for: account, query : '', minLength : 0, showFacets : true, + readOnly : false, unquotable : [ 'text', 'account', diff --git a/index.html b/index.html index 99ad444..9fb2b28 100644 --- a/index.html +++ b/index.html @@ -186,7 +186,7 @@

Demo Try searching for: account,