diff options
author | Christopher Lenz <cmlenz@apache.org> | 2008-04-15 00:07:08 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2008-04-15 00:07:08 +0000 |
commit | 01060528e2f94e0ae4374eb3746093a868b6a2f2 (patch) | |
tree | ce7c28082894a84e6ad7a494e5fb034b274d1d6d /share/www/browse/document.html | |
parent | 4c6263150674c231239b4e1aeee804a3c5974c9a (diff) |
Merged futon-async branch back into trunk.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@648074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/browse/document.html')
-rw-r--r-- | share/www/browse/document.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/www/browse/document.html b/share/www/browse/document.html index f7876539..db3de935 100644 --- a/share/www/browse/document.html +++ b/share/www/browse/document.html @@ -21,9 +21,9 @@ specific language governing permissions and limitations under the License. <script src="../script/json2.js"></script> <script src="../script/jquery.js"></script> <script src="../script/jquery.cookies.js"></script> + <script src="../script/jquery.couch.js"></script> <script src="../script/jquery.dialog.js"></script> <script src="../script/jquery.resizer.js"></script> - <script src="../script/couch.js"></script> <script src="../script/browse.js"></script> <script src="../script/pprint.js"></script> <script> @@ -32,13 +32,14 @@ specific language governing permissions and limitations under the License. var dbLink = $("h1 a.dbname").get(0); parent.updateNavigation( location.pathname.replace(/document\.html/, "database.html"), - location.search.split("/")[0] + encodeURIComponent(location.search.split("/")[0]) ); } $(function() { - $("h1 a.dbname").text(page.dbName).attr("href", "database.html?" + page.dbName); - $("h1 strong").text(page.doc._id); + $("h1 a.dbname").text(page.dbName) + .attr("href", "database.html?" + encodeURIComponent(page.db.name)); + $("h1 strong").text(page.docId); page.updateFieldListing(); $("#toolbar button.save").click(page.saveDocument); $("#toolbar button.add").click(page.addField); |