Commit 3ea4ad0c authored by Sergey Konovalov's avatar Sergey Konovalov

'imgurls' return image successful map and error code

parent 83d09cb5
...@@ -1812,7 +1812,8 @@ function sendImgUrls(api, images, callback, bExcel) { ...@@ -1812,7 +1812,8 @@ function sendImgUrls(api, images, callback, bExcel) {
var data; var data;
if (null != input && "imgurls" == input["type"]) { if (null != input && "imgurls" == input["type"]) {
if ("ok" == input["status"]) { if ("ok" == input["status"]) {
data = input["data"]; data = input["data"]["urls"];
nError = AscCommon.mapAscServerErrorToAscError(input["data"]["error"]);
var urls = {}; var urls = {};
for (var i = 0, length = data.length; i < length; ++i) { for (var i = 0, length = data.length; i < length; ++i) {
var elem = data[i]; var elem = data[i];
......
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