Commit 58f13ccd authored by Frank Bergmann's avatar Frank Bergmann

- Sencha TT:

  - Fixed a number of issues
parent 1907cc59
...@@ -1439,7 +1439,7 @@ ad_proc -private im_rest_post_object_type { ...@@ -1439,7 +1439,7 @@ ad_proc -private im_rest_post_object_type {
" "
} }
json { json {
set data "{\"object_id\": $rest_oid}" set data "\[{\"object_id\": $rest_oid}\]"
set result "{\"success\": true,\n\"message\": \"Object created\",\n\"data\": $data\n\n}" set result "{\"success\": true,\n\"message\": \"Object created\",\n\"data\": $data\n\n}"
doc_return 200 "text/html" $result doc_return 200 "text/html" $result
} }
...@@ -1523,7 +1523,8 @@ ad_proc -private im_rest_post_object { ...@@ -1523,7 +1523,8 @@ ad_proc -private im_rest_post_object {
" "
} }
json { json {
set result "{\"success\": true,\n\"message\": \"Data loaded\",\n}" set data "\[{\"object_id\": $rest_oid}\]"
set result "{\"success\": true,\n\"message\": \"Object created\",\n\"data\": $data\n\n}"
doc_return 200 "text/html" $result doc_return 200 "text/html" $result
} }
xml { xml {
......
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