Dialog_TagFoot.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. var OxOb910=["btn_editinwin","btnok","btncc","controlparent","display","style","none","onclick","nocancel","length","nodeName","SELECT","INPUT","TEXTAREA","skipAutoFireChanged","isnotinput","1","","OnPropertyChange()","onpropertychange","if(!syncingtoview)FireUIChanged()","onchange","onkeypress","onkeyup"];var btn_editinwin=Window_GetElement(window,OxOb910[0x0],true);var btnok=Window_GetElement(window,OxOb910[0x1],true);var btncc=Window_GetElement(window,OxOb910[0x2],true);var controlparent=Window_GetElement(window,OxOb910[0x3],true); btn_editinwin[OxOb910[0x5]][OxOb910[0x4]]=OxOb910[0x6] ; btn_editinwin[OxOb910[0x7]]=function btn_editinwin_onclick(){}  ;if(Window_GetDialogTop(window)[OxOb910[0x8]]){ btncc[OxOb910[0x5]][OxOb910[0x4]]=OxOb910[0x6] ;} ; btnok[OxOb910[0x7]]=function btnok_onclick(){if(Browser_IsSafari()){ editor.PasteHTML(outerHTML(element)) ;} ; Window_SetDialogReturnValue(window,true) ; Window_CloseDialog(window) ;}  ; btncc[OxOb910[0x7]]=function btncc_onclick(){ Window_SetDialogReturnValue(window,false) ; Window_CloseDialog(window) ;}  ; function HookChangeEvents(){var coll=Element_GetAllElements(controlparent);for(var i=0x0;i<coll[OxOb910[0x9]];i++){var Oxb0=coll[i];if(Oxb0[OxOb910[0xa]]==OxOb910[0xb]||Oxb0[OxOb910[0xa]]==OxOb910[0xc]||Oxb0[OxOb910[0xa]]==OxOb910[0xd]){if(Oxb0.getAttribute(OxOb910[0xf])==OxOb910[0x10]||Oxb0.getAttribute(OxOb910[0xe])==OxOb910[0x10]){continue ;} ; Event_Attach(Oxb0,OxOb910[0x13], new Function(OxOb910[0x11],OxOb910[0x12])) ; Event_Attach(Oxb0,OxOb910[0x15], new Function(OxOb910[0x11],OxOb910[0x14])) ; Event_Attach(Oxb0,OxOb910[0x16], new Function(OxOb910[0x11],OxOb910[0x14])) ; Event_Attach(Oxb0,OxOb910[0x17], new Function(OxOb910[0x11],OxOb910[0x14])) ;} ;} ;}  ; HookChangeEvents() ; SyncToViewInternal() ; setInterval(UpdateState,0x12c) ;