couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [3/3] git commit: updated refs/heads/move-auth-sidebar to 0b7da27
Date Tue, 13 Aug 2013 13:13:57 GMT
Fauxton: bug fix on view editor


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0b7da27a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0b7da27a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0b7da27a

Branch: refs/heads/move-auth-sidebar
Commit: 0b7da27afa06f131ce3d4422d3163a3dc7867881
Parents: 924233e
Author: Garren Smith <garren.smith@gmail.com>
Authored: Tue Aug 13 15:13:36 2013 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Tue Aug 13 15:13:36 2013 +0200

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/resources.js       | 4 ++++
 src/fauxton/app/templates/documents/view_editor.html | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0b7da27a/src/fauxton/app/modules/documents/resources.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/resources.js b/src/fauxton/app/modules/documents/resources.js
index 826b44a..0a80ad8 100644
--- a/src/fauxton/app/modules/documents/resources.js
+++ b/src/fauxton/app/modules/documents/resources.js
@@ -22,6 +22,10 @@ function(app, FauxtonAPI) {
   Documents.Doc = Backbone.Model.extend({
     idAttribute: "_id",
 
+    defaults: {
+      views: {}
+    },
+
     url: function(context) {
       if (context === "app") {
         return this.getDatabase().url("app") + "/" + this.safeID();

http://git-wip-us.apache.org/repos/asf/couchdb/blob/0b7da27a/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 ed61903..98b2f6c 100644
--- a/src/fauxton/app/templates/documents/view_editor.html
+++ b/src/fauxton/app/templates/documents/view_editor.html
@@ -48,7 +48,7 @@ the License.
                         </select>
                       </div>
                     </div>
-                    <div id="new-ddoc-section" class="span5" style="display:none">
+                    <div id="new-ddoc-section" class="span5 offset1" style="display:none">
                       <label class="control-label" for="new-ddoc"> _design/ </label>
                       <div class="controls">
                         <input type="text" id="new-ddoc" placeholder="newDesignDoc">


Mime
View raw message