|
Lines 76-81
Link Here
|
| 76 |
|
76 |
|
| 77 |
} |
77 |
} |
| 78 |
|
78 |
|
|
|
79 |
if (! $("#all_budget_id").val() ) { |
| 80 |
// If there is no default fund |
| 81 |
var error = 0; |
| 82 |
$(".selected [name='budget_id']").each(function(){ |
| 83 |
if (!$(this).val()) { |
| 84 |
error++; |
| 85 |
} |
| 86 |
}); |
| 87 |
if ( error > 0 ) { |
| 88 |
alert(_("Some budgets are not defined in item records")); |
| 89 |
return false; |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 79 |
return disableUnchecked($(this)); |
93 |
return disableUnchecked($(this)); |
| 80 |
}); |
94 |
}); |
| 81 |
$('#tabs').tabs(); |
95 |
$('#tabs').tabs(); |
| 82 |
- |
|
|