summaryrefslogtreecommitdiff
path: root/share/www/database.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-14 13:41:32 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-14 13:41:32 +0000
commit75ab4ae3e4a423c0f85cd87a2237453fd43bfba8 (patch)
tree2bb07fcfb9a9458cd998b38598ae726c3c2d22fc /share/www/database.html
parent54986fe78df83e75b369c5a0c3049f36f96f1ba1 (diff)
Refactor the inline editing Javascript code in Futon to make it reusable.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/database.html')
-rw-r--r--share/www/database.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/database.html b/share/www/database.html
index 8f0b6d5d..3b968487 100644
--- a/share/www/database.html
+++ b/share/www/database.html
@@ -37,6 +37,7 @@ specific language governing permissions and limitations under the License.
});
$(function() {
+ if (page.redirecting) return;
$("h1 strong").text(page.db.name);
var viewPath = (page.viewName || "_all_docs").replace(/^_design\//, "_view/");
if (viewPath != "_slow_view" && viewPath != "_design_docs") {