Edit D:\rfid\libsystem\page\catalogue\js\rfidDataApi.js
var _rfidObj=function(){};$(function(){$("#rfidDataGridList").datagrid({onSelect:_rfidObj.prototype.select})});_rfidObj.prototype.search=function(){$("#keyword").textbox("textbox").focus().select();deleteGridData("rfidDataGridList");var b={};var a=base_path+"cat/rfid/query.do";b.sysid=getValue("page_sysid");b.editmodel=getValue("page_editmodel");if(getValue("keyword").length==0){return openMessageDlg("????????????")}b.condition=getValue("bibindex");if(b.condition!="ISBN"){return openMessageDlg("?????????????ISBN")}b.value=getValue("keyword");$("#rfidDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){if(c.rows.length>0){if(vPageNameFlag=="??????"){$("#tabsGrid").tabs("select",3)}else{if(vPageNameFlag=="?????????"){$("#tabsGrid").tabs("select",4)}else{$("#tabsGrid").tabs("select",6)}}$("#rfidDataGridList").datagrid("selectRow",0)}else{openMessageDlg(c.message)}},method:"post"})};_rfidObj.prototype.select=function(a,b){if(vPageNameFlag!="??????"){if($("#centerDataGridDetail").length>0){$("#centerDataGridDetail").datagrid("getPanel").panel("setTitle","???????????????");$("#centerDataGridDetail").datagrid("loadData",b.marcrows);saveFldSelectCenterDataGridDetail()}}};function rfidDownLoadToAddEditGrid(){var a=$("#rfidDataGridList").datagrid("getSelected");if(a){_myComBib.prototype.addData(a.marcrows)}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de