Edit D:\rfid\libsystem\page\global\js\editbibgrid.js
var editIndex=undefined;var vField=undefined;var vEditmodel=undefined;var vLengFldList=undefined;var isUpdateData=false;var isNewRecord=false;var autoBulid905f=undefined;var simpleFieldComBoxData=[];var eidtMsgTipIsOpen=0;var marcEditGridColumns=[{field:"field",title:"?????",width:"8%",editor:"text",formatter:onShowValidatorType},{field:"indicator",title:"?????",width:"8%",editor:"text",formatter:onShowTextWidth},{field:"data",title:"??????",width:"84%",editor:"text",formatter:onShowDataValidator}];$(function(){$("#editBib_dlg").window("resize",{top:80,left:$(window).width()-510})});function initEidtBiBModel(a,c,b){if(!c){reLoadEditBibGridData(a,b)}else{handlerEidtBibModelFun(a)}}function handlerEidtBibModelFun(c,a){vEditmodel=c;var b=base_path+"par/common/getInitData.do";var d={key:"bibshow"};$.post(b,d,function(h){if(h.total>0){var g=h.rows;simpleFieldComBoxData=[];for(var e=0;e<g.length;e++){simpleFieldComBoxData.push({field:g[e].code.replace("SHOW_",""),name:g[e].name})}var j=[{field:"field",title:"??????",width:"12%",formatter:onShowSimpleFieldComBoxData,editor:{type:"combobox",options:{valueField:"field",textField:"name",panelHeight:"auto",required:true,editable:false,data:simpleFieldComBoxData,onChange:function(n,k){if(n!=undefined&&n!=k&&editIndex!=undefined){var m=$("#editBibGrid").datagrid("getEditor",{index:editIndex,field:"indicator"});if(m.target){for(var l=0;l<simpleFieldComBoxData.length;l++){if(n==simpleFieldComBoxData[l].field){$(m.target).textbox("setValue",simpleFieldComBoxData[l].field)}}}}}}}},{field:"indicator",title:"???",hidden:true,editor:{type:"textbox"}},{field:"data",title:"??????",width:"88%",editor:{type:"text"}}];var f=marcEditGridColumns;if(c){if(c=="simple"){if($("#centerDataGridDetail").length>0){$("#centerDataGridDetail").datagrid("hideColumn","indicator")}if($("#favolumeup").length>0){$("#favolumeup").linkbutton("disable")}$("#z3950EditBibGrid").datagrid("hideColumn","indicator");$("#checkrepeatEditGrid").datagrid("hideColumn","indicator");f=j}else{if(c=="marc"){f=marcEditGridColumns;if($("#centerDataGridDetail").length>0){$("#centerDataGridDetail").datagrid("showColumn","indicator")}if($("#favolumeup").length>0){$("#favolumeup").linkbutton("enable")}$("#z3950EditBibGrid").datagrid("showColumn","indicator");$("#checkrepeatEditGrid").datagrid("showColumn","indicator")}}}$("#editBibGrid").datagrid({iconCls:"e-icon fa fa-edit",singleSelect:true,fit:true,fitColumns:true,singleSelect:true,border:false,nowrap:false,striped:true,toolbar:"#editBibGridToolBar",onClickRow:onClickRow,onBeginEdit:onBeginEdit,columns:[f]});if(a){$("#editBibGrid").datagrid("loadData",a)}else{if($("#page_sysid").length>0){$("#editBibGrid").datagrid("loadData",[])}}}},"json")}function reLoadEditBibGridData(b,d){var a=base_path+"lib/biblios/convertMarcEditModel.do";var f={};var e=$("#editBibGrid").datagrid("getRows");if(e.length>0){for(var c=0;c<e.length;c++){f["marcRowList["+c+"].field"]=e[c].field;f["marcRowList["+c+"].indicator"]=e[c].indicator;f["marcRowList["+c+"].data"]=e[c].data}}f.editmodel=b;if(getValue("sysid")){f.sysid=getValue("sysid")}else{f.sysid=getValue("page_sysid")}if(d){f.oldmodel=d}if(f["marcRowList[0].field"]){$.post(a,f,function(h){if(h.status=="0"){var g=h.rows;handlerEidtBibModelFun(b,g)}else{openMessageDlg(h.message)}},"json")}else{handlerEidtBibModelFun(b)}}function endEditing(){if(editIndex==undefined){return true}if($("#editBibGrid").datagrid("validateRow",editIndex)){$("#editBibGrid").datagrid("endEdit",editIndex);editIndex=undefined;return true}else{return false}}function onBeginEdit(a,d){var c=$("#editBibGrid").datagrid("getEditors",a);for(var b=0;b<c.length;b++){c[b].target.css({backgroundColor:"#fff","border-top":"1px solid #2d78f4","border-bottom":"1px solid #2d78f4"})}for(var b=0;b<c.length;b++){editorBindEvent(c[b],a)}}function onBeginEdit(a,d){var c=$("#editBibGrid").datagrid("getEditors",a);for(var b=0;b<c.length;b++){c[b].target.css({backgroundColor:"#fff","border-top":"1px solid #2d78f4","border-bottom":"1px solid #2d78f4"})}for(var b=0;b<c.length;b++){editorBindEvent(c[b],a)}}function showEditBibDlgMessage(h){if(vEditmodel=="marc"&&eidtMsgTipIsOpen==0){var c="";for(var b=0;b<EDITBIBMESSAGE.length;b++){if(EDITBIBMESSAGE[b].field==h){c+="<div>???????R?????? R???????</div>";c+='<table class="table-show-grid">';c+="<tr>";c+="<td style='width:30px;'>???</td>";c+="<td style='width:40px;'>?????</td>";c+="<td style='width:40px;'>?????</td>";c+="<td>???</td>";c+="<td style='width:40px;'>?????</td>";c+="</tr>";c+="<tr>";c+="<td>"+EDITBIBMESSAGE[b].field+"</td>";c+="<td></td>";c+="<td></td>";c+="<td>"+EDITBIBMESSAGE[b].hint+"</td>";c+="<td>"+EDITBIBMESSAGE[b].repeat+"</td>";c+="</tr>";var f=EDITBIBMESSAGE[b].indicator1;var e=EDITBIBMESSAGE[b].indicator2;if(f!=null){c+="<tr>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="<td>"+f+"</td>";c+="<td></td>";c+="</tr>";var g=EDITBIBMESSAGE[b].listInd1;for(var a=0;a<g.length;a++){c+="<tr>";c+="<td></td>";c+="<td></td>";c+="<td>"+g[a].code+"</td>";c+="<td>"+g[a].hint+"</td>";c+="<td></td>";c+="</tr>"}}else{c+="<tr>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="</tr>"}if(e!=null){c+="<tr>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="<td>"+e+"</td>";c+="<td></td>";c+="</tr>";var d=EDITBIBMESSAGE[b].listInd2;for(var a=0;a<d.length;a++){c+="<tr>";c+="<td></td>";c+="<td></td>";c+="<td>"+d[a].code+"</td>";c+="<td>"+d[a].hint+"</td>";c+="<td></td>";c+="</tr>"}}else{c+="<tr>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="<td>?????</td>";c+="<td></td>";c+="</tr>"}var k=EDITBIBMESSAGE[b].listSubfld;for(var a=0;a<k.length;a++){c+="<tr>";c+="<td></td>";c+="<td></td>";c+="<td>$"+k[a].subfld+"</td>";c+="<td>"+k[a].hint+"</td>";c+="<td>"+k[a].repeat+"</td>";c+="</tr>"}break}}c+="</table>";$(".message-div").html(c);$("#editBib_dlg").dialog("open")}}function lengthFldHnadlerMian(e){var g=$("#lengthflddlg").parent().is(":hidden");if(g){var a=$("#editBibGrid").datagrid("getRows")[e];setValue("lengthFldType",a.field);var d=undefined;for(var b=0;b<EDITBIBMESSAGE.length;b++){if(EDITBIBMESSAGE[b].field==a.field){if(EDITBIBMESSAGE[b].lengthfldList){d=EDITBIBMESSAGE[b].lengthfldList}}}if(d){vLengFldList=d;var c="";var h=getDataDirect(a.data,"a");if(a.field=="HEA"){h=a.data}for(var b=0;b<d.length;b++){var f="";if(h){f=h.substr(parseInt(d[b].startindex),parseInt(d[b].length))}if(d[b].field=="heaother"||d[b].field=="headefault"){c+='<tr style="display:none;">';c+="<td>"+d[b].name+"</td>";c+="<td>"+d[b].length+"</td>";c+='<td><input id="'+d[b].field+'" indexPosition="'+b+'" value="'+f+'" onfocus="showLengthFldTip('+b+')" style="width:100px;height: 20px;border-radius:3px;border:0;border:1px solid #ddd;" ></td>';c+="</tr>"}else{c+="<tr>";c+="<td>"+d[b].name+"</td>";c+="<td>"+d[b].length+"</td>";c+='<td><input id="'+d[b].field+'" indexPosition="'+b+'" value="'+f+'" onfocus="showLengthFldTip('+b+')" style="width:100px;height: 20px;border-radius:3px;border:0;border:1px solid #ddd;" ></td>';c+="</tr>"}}$(".length-fld-text").html(c);for(var b=0;b<d.length;b++){var j=d[b].field;$("#"+j).bind("keydown",function(l){if(l.keyCode=="13"){var m=parseInt(this.attributes.indexPosition.value);if(this.id=="healevel"){m+=1}$("#"+d[m+1].field).focus().select()}else{if((l.which>=48&&l.which<=57)||(l.which>=65&&l.which<=90)||(l.which>=96&&l.which<=105)||(l.which==32)){var m=parseInt(this.attributes.indexPosition.value);var k=parseInt(d[m].length);var i=this.value;if(i.length>=k){l.returnValue=false;return false}}}})}$("#lengthflddlg").dialog("open");$("#"+d[0].field).focus().select()}}}function showLengthFldTip(b){if(vLengFldList){var c="";var d=vLengFldList[b].subfld;for(var a=0;a<d.length;a++){c+="<div class='div-book-record' style='word-wrap: break-word; word-break: normal; '>"+d[a].code+"|"+d[a].name+"</div>"}$(".length-fld-tip").html(c)}}function saveLengthFldValue(){var c=getValue("lengthFldType");if(vLengFldList){var g="$a";if(c=="HEA"){g=""}for(var b=0;b<vLengFldList.length;b++){var f=getValue(vLengFldList[b].field);var d=parseInt(vLengFldList[b].length);if(f.length>d){f=f.substr(0,d)}if(f.length<d){for(var a=f.length;a<d;a++){f+=" "}}g+=f}var e=$("#editBibGrid").datagrid("getRows");for(var b=0;b<e.length;b++){if(c==e[b].field){updateGridRow(b,b,c,g,"data")}}$("#lengthflddlg").dialog("close")}}function editorBindEvent(a,b){if(vEditmodel=="marc"){if(a.field=="field"||a.field=="indicator"){a.target.bind("keyup",function(e){if((e.which>=48&&e.which<=57)||(e.which>=65&&e.which<=90)||(e.which>=96&&e.which<=122)||(e.which==32)){if(a.target.val().toString().length>=3&&a.field=="field"){e.returnValue=false;var d=false;if(isNewRecord){for(var c=0;c<autoFillData.length;c++){var f=autoFillData[c];if(a.target.val()==f.field){d=true;isNewRecord=false;$("#editBibGrid").datagrid("updateRow",{index:b,row:f});onNextCellEditor(b,"data");break}}}if(!d){onNextCellEditor(b,"indicator")}}else{if(a.target.val().toString().length>=2&&a.field=="indicator"){e.returnValue=false;onNextCellEditor(b,"data");return false}}}})}}a.target.bind("keydown",function(c){editIndex=b;var d=$("#editBibGrid").datagrid("getRows")[editIndex];if(c.ctrlKey){if(c.which==37){leftCellEditor(b,a.field)}if(c.which==38){onNextCellEditor(--b,a.field)}else{if(c.which==39){rightCellEditor(b,a.field)}else{if(c.which==40){onNextCellEditor(++b,a.field)}else{if(c.which==13){insertRow()}else{if(c.which==46||c.which==110){removeit()}}}}}}else{if(c.which==38){c.returnValue=false;onNextCellEditor(--b,a.field);return false}else{if(c.which==40){c.returnValue=false;onNextCellEditor(++b,a.field);return false}else{if(c.which==13){onEditorEnter(b,a.field)}else{if(d.field=="HEA"||d.field=="100"||d.field=="105"){var e=c.keyCode||c.which||c.charCode;if(e!=undefined){c.returnValue=false;lengthFldHnadlerMian(editIndex);return false}}}}}}})}function onEditorEnter(a,c){var b=$("#editBibGrid").datagrid("getRows")[a];enterAutoBuildFieldData(a,b,c)}function enterAutoBuildFieldData(g,b,c){accept();var h=b.field;var d=b.data;var e=[{orgfld:"010",orgcode:"a",tagfld:"210",tagcode:[{code:"a"},{code:"c"}]},{orgfld:"010",orgcode:"a",tagfld:"102",tagcode:[{code:"a"},{code:"b"}]},{orgfld:"200",orgcode:"d",tagfld:"510",tagcode:[{code:"a"}]},{orgfld:"225",orgcode:"a",tagfld:"410",tagcode:[{code:"12001 $a"}]},{orgfld:"225",orgcode:"a",tagfld:"461",tagcode:[{code:"12001 $a"}]},{orgfld:"225",orgcode:"i",tagfld:"462",tagcode:[{code:"12001 "}]},{orgfld:"690",orgcode:"a",tagfld:"606",tagcode:[{code:"a"}]},{orgfld:"606",orgcode:"a",tagfld:"690",tagcode:[{code:"a"}]},{orgfld:"690",orgcode:"a",tagfld:"905",tagcode:[{code:"f"}]},{orgfld:"ISBN"},{orgfld:"905"},];var a=true;for(var f=0;f<e.length;f++){if(h==e[f].orgfld){if(e[f].orgcode){var j=getDataDirect(d,e[f].orgcode);if(e[f].tagfld=="462"){j=d}autoBuildTagDataByOrgFld(g,e[f],j,c);a=false}else{autoBuildLengthFldByOrgFld(g,e[f],d,c);a=false}}}if(a){onNextCellEditor(++g,c)}}function autoBuildTagDataByOrgFld(b,e,c,a){var d=fldDataIsExistence(e);if(d.status){if(d.tagfld=="102"){autoBuild102Fld(d,b,c,a,d.tagfld)}else{if(d.tagfld=="210"){autoBuild210Fld(d,b,c,a)}else{if(d.tagfld=="606"||d.tagfld=="690"){autoBuildSubjectFld(d,b,c,a,d.tagfld)}else{if(d.tagfld=="905"){autoBuild905Fld(d,b,c,a,d.tagfld)}else{autoBuildComFld(d,b,c,a,d.tagfld)}}}}}else{onNextCellEditor(++b,a)}}function autoBuildLengthFldByOrgFld(b,e,c,a){if(e.orgfld=="ISBN"){autoBuild210Fld(e,b,c,a)}if(e.orgfld=="905"){var d=fldDataIsExistence(e);autoBuild905Fld(d,b,c,a)}}function autoBuildSubjectFld(f,c,e,a,h){setValue("subjectfld",h);setValue("subjectindex",c);setValue("subjectcolfield",a);var b=base_path+"cat/subject/page.do";var g={classno:e};var d="????????";if(h!="606"){d="????????";g={subject:e}}$.post(b,g,function(i){if(i.total>0){$("#subjectGrid").datagrid("loadData",i.rows);$("#catsubjectdlg").dialog("setTitle",d);$("#subjectGrid").datagrid({title:"??????¤??????"+d});$("#catsubjectdlg").dialog("open")}else{onNextCellEditor(++c,a)}},"json")}function autoBuildSubject(c,e){$("#catsubjectdlg").dialog("close");var d=getValue("subjectfld");var b=parseInt(getValue("subjectindex"));var f=getValue("subjectcolfield");var a="$a"+e.subject+"";if(d!="606"){a="$a"+e.classno+""}insertGridRow(b,d,a,f)}function autoBuild210Fld(f,c,d,a){var b=base_path+"par/common/getInitData.do";var g={fmt:"entity",key:"institutional",condition:"code",value:d};try{$.post(b,g,function(m){if(m.total>0){var r=m.rows[0];var j="";if(vEditmodel=="marc"){if(f.index){var o=$("#editBibGrid").datagrid("getRows")[f.index];var h=getDataDirect(o.data,"a");if(!h||h.length==0){j="$a"+r.area+o.data}var q=getDataDirect(o.data,"c");if(!q||q.length==0){j=o.data+"$c"+r.name+""}updateGridRow(c,f.index,f.tagfld,j,a)}else{j="$a"+r.area+"$c"+r.name+"";insertGridRow(c,f.tagfld,j,a)}}else{var k=$("#editBibGrid").datagrid("getRows");var n=0;var p=0;for(var l=0;l<k.length;l++){if("PUBLISH"==k[l].field){n=l}if("PUBLISHADDRESS"==k[l].field){p=l}}if(n==0){insertLengthDataGridRow(c,"PUBLISH",r.name,a)}if(p==0){insertLengthDataGridRow(c,"PUBLISHADDRESS",r.area,a)}onNextCellEditor(++c,a)}}else{onNextCellEditor(++c,a)}},"json")}catch(e){}}function autoBuild102Fld(f,c,d,a){var b=base_path+"par/common/getInitData.do";var g={fmt:"entity",key:"institutional",condition:"code",value:d};try{$.post(b,g,function(i){if(i.total>0){var j=i.rows[0];var h="$aCN";if(vEditmodel=="marc"){if(j.area){h+="$b"+j.areacode+""}if(f.index){updateGridRow(c,f.index,f.tagfld,h,a)}else{insertGridRow(c,f.tagfld,h,a)}}}else{onNextCellEditor(++c,a)}},"json")}catch(e){}}function autoBuildComFld(g,d,f,c){if(vEditmodel=="marc"){if(f&&f.length>0){var b="";var a=g.tagcode;for(var e=0;e<a.length;e++){b+="$"+a[e].code+f}if(g.index){updateGridRow(d,g.index,g.tagfld,b,c)}else{insertGridRow(d,g.tagfld,b,c)}}}}function autoBuild905Fld(h,g,j,f){var b=getDataDirect(j,"f");if(h.tagfld){b=j+"/"}var a=b.split("/");if(a.length>1&&!a[1]){var e="";var i="";var d=base_path+"cat/titlenum/getCurCallno.do";var c={};c.classno=a[0];c.bibid=selectEditBibId;$.post(d,c,function(l){if(l.status=="0"){var k=l.rows[0];if(l.total==0){i=rowBib.classno+"/1"}else{i=k.classno+"/"+k.titnum}e=j.replace(b,i);if(h.tagfld){insertGridRow(g,h.tagfld,"$f"+i,f)}else{updateGridRow(g,g,"905",e,f)}}else{if(l.status=="4002"){var k=l.rows[0];if(l.total==0){i=rowBib.classno+"/1"}else{i=k.classno+"/"+k.titnum}e=j.replace(b,i);if(h.tagfld){insertGridRow(g,h.tagfld,"$f"+i,f)}else{updateGridRow(g,g,"905",e,f)}}else{onNextCellEditor(++g,f)}}},"json")}else{onNextCellEditor(++g,f)}}function insertLengthDataGridRow(d,e,b,c){var a=d+1;$("#editBibGrid").datagrid("insertRow",{index:a,row:{field:e,indicator:e,data:b}})}function insertGridRow(d,e,b,c){var a=d+1;$("#editBibGrid").datagrid("insertRow",{index:a,row:{field:e,indicator:"",data:b}});onNextCellEditor(a,c)}function updateGridRow(f,e,d,b,c){var a=e;$("#editBibGrid").datagrid("updateRow",{index:a,row:{field:d,indicator:"",data:b}});onNextCellEditor(a,c)}function fldDataIsExistence(f){var e=$("#editBibGrid").datagrid("getRows");for(var d=0;d<e.length;d++){if(f.tagfld==e[d].field){f.index=d;var a=f.tagcode;for(var b=0;b<a.length;b++){var c=getDataDirect(e[d].data,a[b].code);if(!c||c.length==0){f.status=true;return f}}f.status=false;return f}}f.status=true;return f}function leftCellEditor(a,b){vField=b;if(vField=="field"){return}else{if(vField=="indicator"){vField="field"}else{if(vField=="data"){vField="indicator"}}}onNextCellEditor(a,vField)}function rightCellEditor(a,b){vField=b;if(vField=="data"){return}else{if(vField=="indicator"){vField="data"}else{if(vField=="field"){vField="indicator"}}}onNextCellEditor(a,vField)}function onNextCellEditor(c,g){var e=$("#editBibGrid").datagrid("getRows");if(c<0){c=0}if(e.length<c){c=0}try{accept();$("#editBibGrid").datagrid("selectRow",c);$("#editBibGrid").datagrid("beginEdit",c);var b;if(vEditmodel=="marc"){b=$("#editBibGrid").datagrid("getEditor",{index:c,field:"indicator"});if(b!=undefined&&$(b.target).val().length>2){$(b.target).val($(b.target).val().substr(0,2))}b=$("#editBibGrid").datagrid("getEditor",{index:c,field:"field"});if(b!=undefined){if($(b.target).val().length>=3){showEditBibDlgMessage((b.target).val())}}}b=$("#editBibGrid").datagrid("getEditor",{index:c,field:g});if(b!=undefined){var f=$(b.target);var a=f.val().length;$(b.target).focus();if(f[0].selectionEnd&&a>0){var c=f.val().indexOf("#");if(c>0){f[0].selectionEnd=0;f[0].selectionStart=c}}}}catch(d){}}function onClickRow(b,c){onSelectCheckRepeatEditGrid(b,c);if(noEditBibGridByCode==true){return}var a=getValue("bibStatus");if(!a||a=="0"){if(editIndex!=b){if(endEditing()){$("#editBibGrid").datagrid("selectRow",b).datagrid("beginEdit",b);editIndex=b}else{$("#editBibGrid").datagrid("selectRow",editIndex)}onNextCellEditor(editIndex,"data")}}}function onSelectCheckRepeatEditGrid(b,f){if($("#page_sysid").length>0){var e=[{field:"010",code:"a",index:"ISBN"},{field:"001",index:"CTRLNO"},{field:"200",code:"a",index:"TITLE"},{field:"701",code:"a",index:"AUTHOR"},{field:"702",code:"a",index:"AUTHOR"},{field:"690",code:"a",index:"CLASSNO"},{field:"606",code:"a",index:"SUBJECT"},{field:"690",code:"f",index:"CALLNO"}];var a=f.data;if(a.length>0){for(var d=0;d<e.length;d++){if(f.field==e[d].field){if(!$("#checkrepeatbib_dlg").parent().is(":hidden")){var g=e[d].index;var c=a;if(e[d].code){c=getDataDirect(a,e[d].code)}checkrepeatFrame.checkRepeatBibCondtion(0,vType,c,g);break}}}}}}function appendRecord(){isNewRecord=true;if(endEditing()){$("#editBibGrid").datagrid("appendRow",{field:"",indicator:"",data:""});editIndex=$("#editBibGrid").datagrid("getRows").length-1;$("#editBibGrid").datagrid("selectRow",editIndex).datagrid("beginEdit",editIndex);onNextCellEditor(editIndex,"field")}}function insertRow(){isNewRecord=true;var b=$("#editBibGrid").datagrid("getSelected");if(b==null){appendRecord();return}var a=$("#editBibGrid").datagrid("getRowIndex",b);if(endEditing()){editIndex=a+1;$("#editBibGrid").datagrid("insertRow",{index:editIndex,row:{field:"",indicator:"",data:""}});$("#editBibGrid").datagrid("selectRow",editIndex).datagrid("beginEdit",editIndex);onNextCellEditor(editIndex,"field")}}function removeit(){var b=$("#editBibGrid").datagrid("getSelected");if(editIndex==undefined&&b==null){return}var a=$("#editBibGrid").datagrid("getRowIndex",b);$("#editBibGrid").datagrid("cancelEdit",a).datagrid("deleteRow",a);editIndex=undefined;if(vField==undefined){vField="field"}onNextCellEditor(--a,vField)}function accept(){if(endEditing()){$("#editBibGrid").datagrid("acceptChanges")}}function reject(){$("#editBibGrid").datagrid("rejectChanges");editIndex=undefined}function getChanges(){var a=$("#editBibGrid").datagrid("getChanges");alert(a.length+" rows are changed!")}function onShowTextWidth(e,f,b){var d=/^[0-9 ]+.?[0-9 ]*$/;if(e!=undefined){var c="<ul>";if(e.toString().length<=2){var a="";if(!d.test(e[0])){a="color:red;"}if(e[0]!=undefined){c+="<li style='display:inline-block;width:8px;"+a+"'>"+e[0]+"</li>"}a="";if(!d.test(e[0])){a="color:red;"}if(e[1]!=undefined){c+="<li style='display:inline-block;width:8px;"+a+"'>"+e[1]+"</li>"}c+="</ul>";return c}}return e}function onShowValidatorType(c,d,a){var b=/^[0-9]+.?[0-9]*$/;if(!b.test(c)){c="<span style='color:red;'>"+c+"<span>"}return c}function openEidtMsgTip(){$("#editBib_dlg").dialog("open");eidtMsgTipIsOpen=0}function closeEidtMsgTip(){$("#editBib_dlg").dialog("close");eidtMsgTipIsOpen=1};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de