@@ -, +, @@ --- .../prog/en/modules/acqui/neworderempty.tt | 33 +++++++++++++--------- 1 file changed, 19 insertions(+), 14 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -14,6 +14,7 @@ actTotal = ""; function Check(ff) { + [% IF (AcqCreateItemOrdering) %] // Remove last itemblock if it is not in items_list var lastitemblock = $("#outeritemblock > div:last"); @@ -34,11 +35,6 @@ function Check(ff) { _alertString +="-------------------------------------------------------------------\n\n"; - if ( isNull(ff.title,1) && isNull(ff.entertitle,1) ){ - ok=1; - _alertString += "\n- " + _("Title cannot be empty"); - } - if(isNull(ff.budget_id,1)){ ok=1; _alertString += "\n- "+ _("You must select a fund"); @@ -260,7 +256,7 @@ $(document).ready(function() [% END %] -