Lines 341-347
Link Here
|
341 |
[% END %] |
341 |
[% END %] |
342 |
[% IF ( op_add && mandatoryfields ) %] |
342 |
[% IF ( op_add && mandatoryfields ) %] |
343 |
{ |
343 |
{ |
344 |
var FldsRequired = [[% mandatoryfields | html %]]; |
344 |
var FldsRequired = [[% mandatoryfields | $raw %]]; |
345 |
for (var i = 0; i < FldsRequired.length; i++) { |
345 |
for (var i = 0; i < FldsRequired.length; i++) { |
346 |
var rq_input = $('#' + FldsRequired[i]); |
346 |
var rq_input = $('#' + FldsRequired[i]); |
347 |
if (rq_input.length != 1) continue; |
347 |
if (rq_input.length != 1) continue; |
348 |
- |
|
|