You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2012/01/24 05:28:39 UTC

[1/2] git commit: Fixing COUCHDB-1383: update the in memory state of the view on save.

Updated Branches:
  refs/heads/1.2.x 851e04167 -> ea01eaafa
  refs/heads/master 5cece68ec -> ce483428d


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/ce483428
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ce483428
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ce483428

Branch: refs/heads/master
Commit: ce483428d6553c9b2f8930e4649c4770ed83f78c
Parents: 5cece68
Author: Sam Bisbee <sa...@sbisbee.com>
Authored: Wed Jan 18 11:02:43 2012 -0500
Committer: Randall Leeds <ra...@apache.org>
Committed: Mon Jan 23 20:27:01 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/ce483428/share/www/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index d336237..da3344f 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -609,6 +609,7 @@
             db.saveDoc(doc, {
               success: function(resp) {
                 page.isDirty = false;
+                page.storedViewCode = viewDef;
                 $("#viewcode button.revert, #viewcode button.save")
                   .attr("disabled", "disabled");
               }