mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 19:09:03 +01:00
Fixed code indentation
This commit is contained in:
parent
d6f7343c97
commit
bf22713a72
@ -723,9 +723,9 @@ error_log("message");
|
|||||||
//=============================================================
|
//=============================================================
|
||||||
} else if (isset($_SESSION['K'])) {
|
} else if (isset($_SESSION['K'])) {
|
||||||
$result["error"] = "Wrong shared secret!";
|
$result["error"] = "Wrong shared secret!";
|
||||||
} else {
|
} else {
|
||||||
$result["result"] = "EXCEPTION";
|
$result["result"] = "EXCEPTION";
|
||||||
$result["message"] = "Trying to communicate without an active connection";
|
$result["message"] = "Trying to communicate without an active connection";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -238,12 +238,12 @@ YAHOO.extendX(Clipperz.PM.Proxy.PHP, Clipperz.PM.Proxy, {
|
|||||||
//deferredResult.addCallback(function(res) {MochiKit.Logging.logDebug("Proxy.PHP.response - 2: " + res.responseText); return res;});
|
//deferredResult.addCallback(function(res) {MochiKit.Logging.logDebug("Proxy.PHP.response - 2: " + res.responseText); return res;});
|
||||||
//deferredResult.addErrback(function(res) {MochiKit.Logging.logDebug("Proxy.PHP.response - ERROR: " + res); return res;});
|
//deferredResult.addErrback(function(res) {MochiKit.Logging.logDebug("Proxy.PHP.response - ERROR: " + res); return res;});
|
||||||
deferredResult.addCallback(MochiKit.Async.evalJSONRequest);
|
deferredResult.addCallback(MochiKit.Async.evalJSONRequest);
|
||||||
deferredResult.addCallback(function (someValues) {
|
deferredResult.addCallback(function (someValues) {
|
||||||
if (someValues['result'] == 'EXCEPTION') {
|
if (someValues['result'] == 'EXCEPTION') {
|
||||||
throw someValues['message'];
|
throw someValues['message'];
|
||||||
}
|
}
|
||||||
return someValues;
|
return someValues;
|
||||||
})
|
})
|
||||||
deferredResult.callback();
|
deferredResult.callback();
|
||||||
|
|
||||||
return deferredResult;
|
return deferredResult;
|
||||||
|
Loading…
Reference in New Issue
Block a user