Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
fb4f8827
Commit
fb4f8827
authored
Sep 30, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switched from fakeRecords to liveData
parent
7bc066d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
js/erp5_loader.js
js/erp5_loader.js
+3
-4
No files found.
js/erp5_loader.js
View file @
fb4f8827
...
...
@@ -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
);
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment