Lines 553-572
Link Here
|
553 |
|
553 |
|
554 |
} |
554 |
} |
555 |
|
555 |
|
556 |
if (! $("#all_budget_id").val() ) { |
|
|
557 |
// If there is no default fund |
558 |
var error = 0; |
559 |
$("select[name='budget_id']").each(function() { |
560 |
if (!$(this).val()) { |
561 |
error++; |
562 |
} |
563 |
}); |
564 |
if ( error > 0 ) { |
565 |
alert(_("Some budgets are not defined in item records")); |
566 |
return false; |
567 |
} |
568 |
} |
569 |
|
570 |
return disableUnchecked($(this)); |
556 |
return disableUnchecked($(this)); |
571 |
}); |
557 |
}); |
572 |
$('#tabs').tabs(); |
558 |
$('#tabs').tabs(); |
573 |
- |
|
|