Permalink
Browse files

Fixing COUCHDB-1383: update the in memory state of the view on save.

  • Loading branch information...
sbisbee authored and tilgovi committed Jan 18, 2012
1 parent 5cece68 commit ce483428d6553c9b2f8930e4649c4770ed83f78c
Showing with 1 addition and 0 deletions.
  1. +1 −0 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");
}

0 comments on commit ce48342

Please sign in to comment.