Lines 13-18
Link Here
|
13 |
[% INCLUDE 'datatables-strings.inc' %] |
13 |
[% INCLUDE 'datatables-strings.inc' %] |
14 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
14 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
15 |
<script type="text/javascript" src="[% themelang %]/js/acq.js"></script> |
15 |
<script type="text/javascript" src="[% themelang %]/js/acq.js"></script> |
|
|
16 |
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script> |
16 |
<script type="text/JavaScript"> |
17 |
<script type="text/JavaScript"> |
17 |
//<![CDATA[ |
18 |
//<![CDATA[ |
18 |
[% IF (dateformat == 'metric') %] |
19 |
[% IF (dateformat == 'metric') %] |
Lines 25-30
Link Here
|
25 |
], |
26 |
], |
26 |
"sPaginationType": "four_button" |
27 |
"sPaginationType": "four_button" |
27 |
} ) ); |
28 |
} ) ); |
|
|
29 |
|
30 |
$("form#Aform").submit(function() { |
31 |
var total_errors = CheckMandatorySubfields(this); |
32 |
if (total_errors > 0) { |
33 |
var alertString = _("Form not submitted because of the following problem(s)"); |
34 |
alertString += "\n------------------------------------------------------------------------------------\n"; |
35 |
alertString += "\n- "+ total_errors + _(" mandatory fields empty (highlighted)"); |
36 |
alert(alertString); |
37 |
return false; |
38 |
} |
39 |
return true; |
40 |
}); |
28 |
}); |
41 |
}); |
29 |
//]]> |
42 |
//]]> |
30 |
</script> |
43 |
</script> |
31 |
- |
|
|