mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
#18318336 : make it easy to add language code for text or textarea
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6800 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0b150ca73f
commit
54eee1e535
1 changed files with 11 additions and 0 deletions
|
|
@ -962,3 +962,14 @@ function replaceOuterHTML(obj, html) {
|
|||
function getOuterHTML(obj) {
|
||||
return jQuery(obj).html().trim();
|
||||
}
|
||||
|
||||
jQuery(function(){
|
||||
jQuery(".lang_code").each(
|
||||
function()
|
||||
{
|
||||
var objText = jQuery(this);
|
||||
var targetName = objText.attr("name");
|
||||
objText.after("<a href='"+request_uri.setQuery('module','module').setQuery('act','dispModuleAdminLangcode').setQuery('target',targetName)+"' class='buttonSet buttonSetting' onclick='popopen(this.href);return false;'><span>find_langcode</span></a>");
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue