version 1.31, 2001/05/28 19:22:45
|
version 1.32, 2001/05/28 22:23:00
|
Line 79 var srch;
|
Line 79 var srch;
|
var srchflag=-1; // 1 means currently open |
var srchflag=-1; // 1 means currently open |
// 0 means closed (but has been open) |
// 0 means closed (but has been open) |
// -1 means never yet opened/defined |
// -1 means never yet opened/defined |
|
var idx; |
|
var idxflag=-1; // 1 means currently open |
|
// 0 means closed (but has been open) |
|
// -1 means never yet opened/defined |
|
|
function testfunction() { |
function testfunction() { |
inf.document.forms.resinfo.elements.t.value="ABC"; |
inf.document.forms.resinfo.elements.t.value="ABC"; |
Line 1295 function infoclear() {
|
Line 1299 function infoclear() {
|
if (srchflag==1) { |
if (srchflag==1) { |
srchclose(); |
srchclose(); |
} |
} |
|
if (idxflag==1) { |
|
idxclose(); |
|
} |
parent.top.focus(); |
parent.top.focus(); |
parent.mapout.focus(); |
parent.mapout.focus(); |
notclear=1; |
notclear=1; |
Line 1470 function insertcondlink(cid,lnr) {
|
Line 1477 function insertcondlink(cid,lnr) {
|
|
|
|
|
|
|
|
// ------------------------------------------------------ Clears indexer window |
|
|
|
function idxclear() { |
|
idx.document.clear(); |
|
} |
|
|
// ------------------------------------------------------- Clears search window |
// ------------------------------------------------------- Clears search window |
|
|
function srchclear() { |
function srchclear() { |
srch.document.clear(); |
srch.document.clear(); |
} |
} |
|
|
|
// ------------------------------------------------------ Closes indexer window |
|
|
|
function idxclose() { |
|
if (idx && !idx.closed) { |
|
idxflag=0; |
|
idx.close(); |
|
} |
|
} |
|
|
// ------------------------------------------------------- Closes search window |
// ------------------------------------------------------- Closes search window |
|
|
function srchclose() { |
function srchclose() { |
Line 1485 function srchclose() {
|
Line 1507 function srchclose() {
|
} |
} |
} |
} |
|
|
|
// -------------------------------------------------------- Open indexer window |
|
|
|
function idxopen() { |
|
var options="scrollbars=1,resizable=1,menubar=0"; |
|
idxflag=1; |
|
idx=open("/res?catalogmode=interactive","idxout",options); |
|
idx.focus(); |
|
} |
|
|
// --------------------------------------------------------- Open search window |
// --------------------------------------------------------- Open search window |
|
|
function srchopen() { |
function srchopen() { |
Line 1509 function srchcheck() {
|
Line 1540 function srchcheck() {
|
srch.focus(); |
srch.focus(); |
} |
} |
|
|
|
// -------------------------------------------------------- Do idx status check |
|
|
|
function idxcheck() { |
|
if (!idx || idx.closed) { |
|
idxopen(); |
|
} |
|
idx.focus(); |
|
} |
|
|
// ---------------------------------------------------- Handles "click to edit" |
// ---------------------------------------------------- Handles "click to edit" |
|
|
function handler(infostr) { |
function handler(infostr) { |
Line 1604 function handler(infostr) {
|
Line 1644 function handler(infostr) {
|
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
if (data2[2]=='true') { inf.document.write(' checked'); } |
if (data2[2]=='true') { inf.document.write(' checked'); } |
inf.document.write('></td><td align=right><a href="javascript:opener.srchcheck()">Search</a></td></tr>' |
inf.document.write('></td><td align=right>' |
|
+'<a href="javascript:opener.idxcheck()">Browse</a> ' |
|
+'<a href="javascript:opener' |
|
+'.srchcheck()">Search</a></td></tr>' |
+'<tr><td colspan=3>' |
+'<tr><td colspan=3>' |
+'<input type=radio name=y value=normal '+ |
+'<input type=radio name=y value=normal '+ |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
Line 2456 function schedule(action) {
|
Line 2499 function schedule(action) {
|
wait(); |
wait(); |
} |
} |
|
|
|
// ----------------------------------------------------- launch indexer browser |
|
|
|
function browse() { |
|
alert('not yet implemented'); |
|
} |
|
|
|
function groupimport() { |
|
alert('not yet implemented'); |
|
} |
|
|
// -------------------------------------------------------------- Store changes |
// -------------------------------------------------------------- Store changes |
|
|
function storechange() { |
function storechange() { |
Line 2518 function leave() {
|
Line 2571 function leave() {
|
if (srch && !srch.closed) { |
if (srch && !srch.closed) { |
srchclose(); |
srchclose(); |
} |
} |
|
if (idx && !idx.closed) { |
|
srchclose(); |
|
} |
} |
} |
|
|
</script> |
</script> |
Line 2532 function leave() {
|
Line 2588 function leave() {
|
<a href="javascript:revert();">Revert</a> |
<a href="javascript:revert();">Revert</a> |
<a href="javascript:undo();">Undo</a> |
<a href="javascript:undo();">Undo</a> |
<a href="javascript:redo();">Redo</a> |
<a href="javascript:redo();">Redo</a> |
|
<a href="javascript:browse();">Browse</a> |
|
<a href="javascript:groupimport();">Group Import</a> |
<a href="javascript:storechange();">Store</a> |
<a href="javascript:storechange();">Store</a> |
</body> |
</body> |
</html> |
</html> |