mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
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:
parent
9a08bb9011
commit
682dc6f243
1 changed files with 5 additions and 0 deletions
|
|
@ -713,17 +713,22 @@ $('.multiLangEdit')
|
||||||
|
|
||||||
// remove lagnauge key
|
// remove lagnauge key
|
||||||
$this.data('mle-langkey').val('');
|
$this.data('mle-langkey').val('');
|
||||||
|
|
||||||
|
// copy current string to hidden input
|
||||||
|
$this.prev('input.vLang').val(val);
|
||||||
|
|
||||||
function request() {
|
function request() {
|
||||||
$this.addClass('loading');
|
$this.addClass('loading');
|
||||||
|
|
||||||
if($ul.parent().is(':visible')) $ul.parent().hide();
|
if($ul.parent().is(':visible')) $ul.parent().hide();
|
||||||
|
|
||||||
|
show_waiting_message = false;
|
||||||
$.exec_json(
|
$.exec_json(
|
||||||
'module.getLangListByLangcodeForAutoComplete',
|
'module.getLangListByLangcodeForAutoComplete',
|
||||||
{search_keyword:val},
|
{search_keyword:val},
|
||||||
(function(i){ return function(data){ on_complete(data,i) } })(r_idx++)
|
(function(i){ return function(data){ on_complete(data,i) } })(r_idx++)
|
||||||
);
|
);
|
||||||
|
show_waiting_message = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
function on_complete(data, idx){
|
function on_complete(data, idx){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue