From e10b43fcd1b3d64e2a8dda48998ec3751cd54abc Mon Sep 17 00:00:00 2001 From: haneul Date: Thu, 22 Apr 2010 06:41:46 +0000 Subject: [PATCH] #18852541 : make multilanguage input script use id instead of name git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7381 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/js/common.js b/common/js/common.js index a2917675b..eef178ccd 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -993,7 +993,9 @@ jQuery(function(){ function() { var objText = jQuery(this); - var targetName = objText.attr("name"); + var targetName = objText.attr("id"); + if(typeof(targetName) == "undefined") targetName = objText.attr("name"); + if(typeof(targetName) == "undefined") return; objText.after("find_langcode"); } );