issue 207, changed do not display server waiting message when multilanguage suggestion, copy string to hidden input on multilanguage UI

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9458 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-30 08:20:17 +00:00
parent 9a08bb9011
commit 682dc6f243

View file

@ -713,17 +713,22 @@ $('.multiLangEdit')
// remove lagnauge key
$this.data('mle-langkey').val('');
// copy current string to hidden input
$this.prev('input.vLang').val(val);
function request() {
$this.addClass('loading');
if($ul.parent().is(':visible')) $ul.parent().hide();
show_waiting_message = false;
$.exec_json(
'module.getLangListByLangcodeForAutoComplete',
{search_keyword:val},
(function(i){ return function(data){ on_complete(data,i) } })(r_idx++)
);
show_waiting_message = true;
};
function on_complete(data, idx){