mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-27 17:08:40 +00:00
Fix function and const usage
This commit is contained in:
parent
20774d5355
commit
e89cb9da52
|
|
@ -94,7 +94,7 @@
|
|||
self = this;
|
||||
|
||||
request.setData(form.getData());
|
||||
request.setType('json');
|
||||
request.setType(jsOMS.EnumResponseType.JSON);
|
||||
request.setUri(form.getAction());
|
||||
request.setMethod(form.getMethod());
|
||||
request.setRequestHeader('Content-Type', 'application/json');
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
/* Handle responses (can be multiple response object) */
|
||||
for (let k = 0; k < responseLength; k++) {
|
||||
tempResponse = response.get(k);
|
||||
tempResponse = response.getByIndex(k);
|
||||
console.log(tempResponse);
|
||||
|
||||
if(typeof (success = form.getSuccess()) !== 'undefined') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user