Lines 3-8
Link Here
|
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script> |
4 |
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script> |
5 |
<script language="JavaScript" type="text/javascript"> |
5 |
<script language="JavaScript" type="text/javascript"> |
|
|
6 |
var nav = window.Event ? true : false; |
7 |
if (nav) { |
8 |
window.captureEvents(Event.KEYDOWN); |
9 |
window.onkeydown = NetscapeEventHandler_KeyDown; |
10 |
} else { |
11 |
document.onkeydown = IEEventHandler_KeyDown; |
12 |
} |
13 |
|
14 |
function NetscapeEventHandler_KeyDown(e) { |
15 |
if (e.which == 13 && e.target.type != 'textarea' && e.target.type != 'submit') { return false; } |
16 |
return true; |
17 |
} |
18 |
|
19 |
function IEEventHandler_KeyDown() { |
20 |
if (event.keyCode == 13 && event.srcElement.type != 'textarea' && event.srcElement.type != 'submit') |
21 |
return false; |
22 |
return true; |
23 |
} |
6 |
//<![CDATA[ |
24 |
//<![CDATA[ |
7 |
function generateReceive() { |
25 |
function generateReceive() { |
8 |
var subscriptionid = document.getElementsByName("subscriptionid")[0].value; |
26 |
var subscriptionid = document.getElementsByName("subscriptionid")[0].value; |
Lines 377-383
$(document).ready(function() {
Link Here
|
377 |
|
395 |
|
378 |
</table> |
396 |
</table> |
379 |
<fieldset class="action"> |
397 |
<fieldset class="action"> |
380 |
<input type="submit" onclick="return false;" style="display: none;" id="phony_submit" value="phony_submit" name="phony_submit" /> |
|
|
381 |
<input type="submit" value="Save" class="button" accesskey="w" /> |
398 |
<input type="submit" value="Save" class="button" accesskey="w" /> |
382 |
[% UNLESS ( serialsadditems ) %] <input type="button" onclick="javascript:generateReceive()" value="Multi receiving">[% END %] |
399 |
[% UNLESS ( serialsadditems ) %] <input type="button" onclick="javascript:generateReceive()" value="Multi receiving">[% END %] |
383 |
</fieldset> |
400 |
</fieldset> |
384 |
- |
|
|