From 682dc6f243e0b51ee68ac628824046bced68f1d3 Mon Sep 17 00:00:00 2001 From: flyskyko Date: Fri, 30 Sep 2011 08:20:17 +0000 Subject: [PATCH] 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 --- modules/admin/tpl/js/admin.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index 19268d08f..ba0fb80ce 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -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){