summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/browse/database.html2
-rw-r--r--share/www/script/browse.js6
-rw-r--r--share/www/script/couch.js2
-rw-r--r--share/www/script/jquery.couch.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html
index f1f25e9e..6b12ed7d 100644
--- a/share/www/browse/database.html
+++ b/share/www/browse/database.html
@@ -117,7 +117,7 @@ specific language governing permissions and limitations under the License.
<label>Select view: <select autocomplete="false">
<option value="">All documents</option>
<option value="_design_docs">Design documents</option>
- <option value="_temp_view">Custom query…</option>
+ <option value="_slow_view">Custom query…</option>
</select></label>
</div>
<ul id="toolbar">
diff --git a/share/www/script/browse.js b/share/www/script/browse.js
index ed6b7882..b91520bb 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -115,7 +115,7 @@ function CouchDatabasePage() {
this.viewName = viewName;
this.db = db;
this.isDirty = false;
- this.isTempView = viewName == "_temp_view";
+ this.isTempView = viewName == "_slow_view";
page = this;
this.addDocument = function() {
@@ -223,7 +223,7 @@ function CouchDatabasePage() {
}
});
if (!viewName.match(/^_design\//)) {
- $.each(["_all_docs", "_design_docs", "_temp_view"], function(idx, name) {
+ $.each(["_all_docs", "_design_docs", "_slow_view"], function(idx, name) {
if (viewName == name) {
select[0].options[idx].selected = true;
}
@@ -493,7 +493,7 @@ function CouchDatabasePage() {
$("#switch select").get(0).selectedIndex = 0;
db.allDocs(options);
} else {
- if (viewName == "_temp_view") {
+ if (viewName == "_slow_view") {
$("#viewcode").show().removeClass("collapsed");
var mapFun = $("#viewcode_map").val();
$.cookies.set(db.name + ".map", mapFun);
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index d872c1f8..505d653f 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -123,7 +123,7 @@ function CouchDB(name, httpHeaders) {
reduceFun = reduceFun.toSource ? reduceFun.toSource() : "(" + reduceFun.toString() + ")";
body.reduce = reduceFun;
}
- this.last_req = this.request("POST", this.uri + "_temp_view" + encodeOptions(options), {
+ this.last_req = this.request("POST", this.uri + "_slow_view" + encodeOptions(options), {
headers: {"Content-Type": "application/json"},
body: JSON.stringify(body)
});
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index bd77bf80..a36387a0 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -216,7 +216,7 @@
body.reduce = reduceFun;
}
$.ajax({
- type: "POST", url: this.uri + "_temp_view" + encodeOptions(options),
+ type: "POST", url: this.uri + "_slow_view" + encodeOptions(options),
contentType: "application/json",
data: toJSON(body), dataType: "json",
complete: function(req) {