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"); } );