Fixed an issue with the view editor encoding values when it shouldn't
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/cdb12181 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/cdb12181 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/cdb12181 Branch: refs/heads/1960-paginate-all_dbs Commit: cdb1218123486eb3abf51706b1bd5c1fe7eb7241 Parents: 7007dac Author: suelockwood <[email protected]> Authored: Fri Jan 3 12:29:46 2014 -0500 Committer: suelockwood <[email protected]> Committed: Fri Jan 3 12:29:46 2014 -0500 ---------------------------------------------------------------------- src/fauxton/app/templates/documents/view_editor.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/cdb12181/src/fauxton/app/templates/documents/view_editor.html ---------------------------------------------------------------------- diff --git a/src/fauxton/app/templates/documents/view_editor.html b/src/fauxton/app/templates/documents/view_editor.html index cf6aa26..ddb5a0c 100644 --- a/src/fauxton/app/templates/documents/view_editor.html +++ b/src/fauxton/app/templates/documents/view_editor.html @@ -12,7 +12,7 @@ License for the specific language governing permissions and limitations under the License. --> <div class="row"> - <ul class="nav nav-tabs window-resizeable" id="db-views-tabs-nav"> + <ul class="nav nav-tabs" id="db-views-tabs-nav"> <li class="active"> <a data-bypass="true" id="index-nav" class="fonticon-wrench fonticon" data-toggle="tab" href="#index"><% if (newView) { %>Create Index <% } else { %>Edit Index <% } %></a></li> <% if (!newView) { %> <li><a data-bypass="true" id="query-nav" class="fonticon-plus fonticon" href="#query" data-toggle="tab">Query Options</a></li> @@ -40,7 +40,7 @@ the License. <% if (newView) { %> <div class="js-editor" id="map-function"><%= langTemplates.map %></div> <% } else { %> - <div class="js-editor" id="map-function"><%= ddoc.get('views')[viewName].map %></div> + <div class="js-editor" id="map-function"><%- ddoc.get('views')[viewName].map %></div> <% } %> </div> @@ -62,7 +62,7 @@ the License. <% if (newView) { %> <div class="js-editor" id="reduce-function"><%= langTemplates.reduce %></div> <% } else { %> - <div class="js-editor" id="reduce-function"><%= ddoc.get('views')[viewName].reduce %></div> + <div class="js-editor" id="reduce-function"><%- ddoc.get('views')[viewName].reduce %></div> <% } %> </div>
