couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [39/50] [abbrv] git commit: Fixing COUCHDB-1383: update the in memory state of the view on save.
Date Wed, 14 Mar 2012 22:28:02 GMT
Fixing COUCHDB-1383: update the in memory state of the view on save.


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

Branch: refs/heads/COUCHDB-1426
Commit: ea01eaafa15169e17afda2b059bf8be12f2f6472
Parents: 851e041
Author: Sam Bisbee <sam@sbisbee.com>
Authored: Wed Jan 18 11:02:43 2012 -0500
Committer: Randall Leeds <randall@apache.org>
Committed: Mon Jan 23 20:26:36 2012 -0800

----------------------------------------------------------------------
 share/www/script/futon.browse.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea01eaaf/share/www/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index b24840e..6df0568 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -577,6 +577,7 @@
             db.saveDoc(doc, {
               success: function(resp) {
                 page.isDirty = false;
+                page.storedViewCode = viewDef;
                 $("#viewcode button.revert, #viewcode button.save")
                   .attr("disabled", "disabled");
               }


Mime
View raw message