issue 1365 fixed. XML importer JS issue.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10385 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-03-08 05:35:18 +00:00
parent 67de03927f
commit ac56406b22

View file

@ -44,16 +44,18 @@ $('.checkxml')
return restore(); return restore();
} }
restore();
$message.attr('class', 'desc success').fadeIn(300); $message.attr('class', 'desc success').fadeIn(300);
$form.find(':submit').removeAttr('disabled'); $form.find(':submit').removeAttr('disabled');
$syncmember = $form.find('.syncmember:hidden'); $syncmember = $form.find('.syncmember:hidden');
$input.prop('disabled', false).removeClass('loading');
$this.prop('disabled', false);
if(data.type == 'XML') { if(data.type == 'XML') {
$xml.not(':visible').add($syncmember).slideDown(300); $xml.not(':visible').add($syncmember).slideUp(300);
} else if(data.type == 'TTXML') { } else if(data.type == 'TTXML') {
$ttxml.not(':visible').add($syncmember).slideDown(300); $ttxml.not(':visible').add($syncmember).slideUp(300);
$form.find('input[name=type]').val('ttxml'); $form.find('input[name=type]').val('ttxml');
} }
}; };