Remved parts for reworking api
This commit is contained in:
parent
05e650c541
commit
18d640089e
18
client.html
18
client.html
|
@ -782,24 +782,6 @@ function handleTestUpdate(resp) {
|
||||||
tests[resp['name']]['reducefn'] = decodeStr(resp["reducefn"]);
|
tests[resp['name']]['reducefn'] = decodeStr(resp["reducefn"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function releaseLock(type) {
|
|
||||||
var lock = myLocks[type];
|
|
||||||
myLocks[type] = null;
|
|
||||||
|
|
||||||
lock.locked = false;
|
|
||||||
|
|
||||||
|
|
||||||
var m = new Object();
|
|
||||||
m["query"] = "releaseLock";
|
|
||||||
m["type"] = type;
|
|
||||||
m["name"] = lock.name;
|
|
||||||
if (type == "range") {
|
|
||||||
m["start"] = lock.start;
|
|
||||||
m["end"] = lock.end;
|
|
||||||
}
|
|
||||||
|
|
||||||
bcastMsg(m);
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleLockRelease(resp) {
|
function handleLockRelease(resp) {
|
||||||
//var locks = getLockType(resp['type']);
|
//var locks = getLockType(resp['type']);
|
||||||
|
|
Loading…
Reference in New Issue