Commit fb4f8827 authored by Sven Franck's avatar Sven Franck

switched from fakeRecords to liveData

parent 7bc066d2
......@@ -3379,16 +3379,15 @@
if (valid !== false) {
$.ajax({
"type":"POST",
"url": "foo.php",
"url": "Person_getPaymentListAsJSON",
"data": valid
}).done(function(data) {
// overwrite cache
// NOTE: FAKE data until working
priv.fragment_cache[id] = priv.getFakeRecords["payment"];
priv.fragment_cache[id] = data;
proceed(pointer, target);
}).fail(function(jqXHR) {
// fake it
priv.fragment_cache[id] = priv.getFakeRecords["payment"];
// priv.fragment_cache[id] = priv.getFakeRecords["payment"];
proceed(pointer, target);
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment