Start updating to new API

This commit is contained in:
Calvin Montgomery 2013-08-11 23:10:55 -04:00
parent 0bf80a375d
commit 4aa0e7a4ef
7 changed files with 63 additions and 314 deletions

View file

@ -71,7 +71,8 @@
hash = loc.substring(loc.indexOf("?") + 1);
})();
var url = WEB_URL+"/api/json/recoverpw?hash="+hash+"&callback=?";
var url = WEB_URL+"/api/account/passwordrecover?hash="+hash+
"&callback=?";
$.getJSON(url, function(data) {
if(data.success) {
$("<div/>").addClass("alert alert-success")