mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
issue 1253, 1357 when submit with procFilter, double click the submit button.
so, document is duplicate registered git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10159 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0c1c7d4248
commit
89cd0aa7a7
1 changed files with 16 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ function xml2json(xml, tab, ignoreAttrib) {
|
|||
}
|
||||
}
|
||||
|
||||
var filterWait = new Array();
|
||||
(function($){
|
||||
/**
|
||||
* @brief exec_xml
|
||||
|
|
@ -280,6 +281,20 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
|
|||
|
||||
// 모든 xml데이터는 POST방식으로 전송. try-catch문으로 오류 발생시 대처
|
||||
try {
|
||||
if(fo_obj)
|
||||
{
|
||||
if(!fo_obj.id)
|
||||
{
|
||||
fo_obj.id = new Date().getTime();
|
||||
}
|
||||
|
||||
if(filterWait[fo_obj.id])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
filterWait[fo_obj.id] = true;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url : xml_path,
|
||||
type : 'POST',
|
||||
|
|
@ -289,6 +304,7 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
|
|||
beforeSend : function(xhr){ _xhr = xhr; },
|
||||
success : onsuccess,
|
||||
error : function(xhr, textStatus) {
|
||||
filterWait[fo_obj.id] = '';
|
||||
waiting_obj.css('display', 'none');
|
||||
|
||||
var msg = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue