You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.7 KiB
1 line
1.7 KiB
var OxO3a7e=["btn_editinwin","btnok","btncc","controlparent","display","style","none","onclick","nocancel","length","nodeName","SELECT","INPUT","TEXTAREA","isnotinput","1","skipAutoFireChanged","onpropertychange","","OnPropertyChange()","onchange","if(!syncingtoview)FireUIChanged()","onkeypress","onkeyup"];var btn_editinwin=Window_GetElement(window,OxO3a7e[0],true);var btnok=Window_GetElement(window,OxO3a7e[1],true);var btncc=Window_GetElement(window,OxO3a7e[2],true);var controlparent=Window_GetElement(window,OxO3a7e[3],true);btn_editinwin[OxO3a7e[5]][OxO3a7e[4]]=OxO3a7e[6];btn_editinwin[OxO3a7e[7]]=function btn_editinwin_onclick(){} ;if(Window_GetDialogTop(window)[OxO3a7e[8]]){btncc[OxO3a7e[5]][OxO3a7e[4]]=OxO3a7e[6];} ;btnok[OxO3a7e[7]]=function btnok_onclick(){Window_SetDialogReturnValue(window,true);Window_CloseDialog(window);} ;btncc[OxO3a7e[7]]=function btncc_onclick(){Window_SetDialogReturnValue(window,false);Window_CloseDialog(window);} ;function HookChangeEvents(){var Ox31=Element_GetAllElements(controlparent);for(var i=0;i<Ox31[OxO3a7e[9]];i++){var Ox43=Ox31[i];if(Ox43[OxO3a7e[10]]==OxO3a7e[11]||Ox43[OxO3a7e[10]]==OxO3a7e[12]||Ox43[OxO3a7e[10]]==OxO3a7e[13]){if(Ox43.getAttribute(OxO3a7e[14])==OxO3a7e[15]||Ox43.getAttribute(OxO3a7e[16])==OxO3a7e[15]){continue ;} ;Event_Attach(Ox43,OxO3a7e[17], new Function(OxO3a7e[18],OxO3a7e[19]));Event_Attach(Ox43,OxO3a7e[20], new Function(OxO3a7e[18],OxO3a7e[21]));Event_Attach(Ox43,OxO3a7e[22], new Function(OxO3a7e[18],OxO3a7e[21]));Event_Attach(Ox43,OxO3a7e[23], new Function(OxO3a7e[18],OxO3a7e[21]));Event_Attach(Ox43,OxO3a7e[7], new Function(OxO3a7e[18],OxO3a7e[21]));} ;} ;} ;HookChangeEvents();SyncToViewInternal();setInterval(UpdateState,300); |