Skip to content

Commit

Permalink
Merge branch 'release/1.8.40'
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Jun 2, 2017
2 parents 6828e45 + b7ce006 commit be81b0f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
14 changes: 11 additions & 3 deletions common/js/xe.js
Original file line number Diff line number Diff line change
Expand Up @@ -2736,7 +2736,11 @@ var show_waiting_message = true;

// 전송 성공시
function onsuccess(data, textStatus, xhr) {
var resp_xml = $(data).find('response')[0], resp_obj, txt='', ret=[], tags={}, json_str='';
var resp_xml = $(data).find('response')[0];
var resp_obj;
var txt = '';
var ret = {};
var tags = {};

waiting_obj.css('display', 'none').trigger('cancel_confirm');

Expand All @@ -2759,10 +2763,14 @@ var show_waiting_message = true;
return ret;
}

$.each(response_tags, function(key, val){ tags[val] = true; });
$.each(response_tags, function(key, val){
tags[val] = true;
});
tags.redirect_url = true;
tags.act = true;
$.each(resp_obj, function(key, val){ if(tags[key]) ret[key] = val; });
$.each(resp_obj, function(key, val){
if(tags[key]) ret[key] = val;
});

if(ret.error != '0') {
if ($.isFunction($.exec_xml.onerror)) {
Expand Down
Loading

0 comments on commit be81b0f

Please sign in to comment.