summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/couch.js2
-rw-r--r--share/www/script/futon.browse.js8
-rw-r--r--share/www/script/jquery.couch.js2
3 files changed, 6 insertions, 6 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index e1806d6f..0a2698ab 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -129,7 +129,7 @@ function CouchDB(name, httpHeaders) {
reduceFun = reduceFun.toSource ? reduceFun.toSource() : "(" + reduceFun.toString() + ")";
body.reduce = reduceFun;
}
- this.last_req = this.request("POST", this.uri + "_slow_view" + encodeOptions(options), {
+ this.last_req = this.request("POST", this.uri + "_temp_view" + encodeOptions(options), {
headers: {"Content-Type": "application/json"},
body: JSON.stringify(body)
});
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 6f90b5a8..f05e92d5 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -114,7 +114,7 @@
this.viewLanguage = "javascript";
this.db = db;
this.isDirty = false;
- this.isTempView = viewName == "_slow_view";
+ this.isTempView = viewName == "_temp_view";
page = this;
var templates = {
@@ -199,7 +199,7 @@
}
$("#language").change(updateDirtyState);
});
- } else if (viewName == "_slow_view") {
+ } else if (viewName == "_temp_view") {
page.viewLanguage = $.cookies.get(db.name + ".language", page.viewLanguage);
page.updateViewEditor(
$.cookies.get(db.name + ".map", templates[page.viewLanguage]),
@@ -266,7 +266,7 @@
}
});
if (!viewName.match(/^_design\//)) {
- $.each(["_all_docs", "_design_docs", "_slow_view"], function(idx, name) {
+ $.each(["_all_docs", "_design_docs", "_temp_view"], function(idx, name) {
if (viewName == name) {
select[0].options[idx].selected = true;
}
@@ -577,7 +577,7 @@
$("#switch select")[0].selectedIndex = 0;
db.allDocs(options);
} else {
- if (viewName == "_slow_view") {
+ if (viewName == "_temp_view") {
$("#viewcode").show().removeClass("collapsed");
var mapFun = $("#viewcode_map").val();
$.cookies.set(db.name + ".map", mapFun);
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index c92be220..b4566e3a 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -249,7 +249,7 @@
body.reduce = reduceFun;
}
$.ajax({
- type: "POST", url: this.uri + "_slow_view" + encodeOptions(options),
+ type: "POST", url: this.uri + "_temp_view" + encodeOptions(options),
contentType: "application/json",
data: toJSON(body), dataType: "json",
complete: function(req) {