Lines 35-46
function isNull(f,noalert) {
Link Here
|
35 |
return true; |
35 |
return true; |
36 |
} |
36 |
} |
37 |
|
37 |
|
38 |
|
|
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
//Function returns false if v is not a number (if maybenull is 0, it also returns an error if the number is 0) |
38 |
//Function returns false if v is not a number (if maybenull is 0, it also returns an error if the number is 0) |
45 |
function isNum(v,maybenull) { |
39 |
function isNum(v,maybenull) { |
46 |
var n = new Number(v.value); |
40 |
var n = new Number(v.value); |
Lines 822-828
if ( newBudgetParent ) { url += '&parent_id=' + newBudgetParent};
Link Here
|
822 |
if (result == '1') { |
816 |
if (result == '1') { |
823 |
return MSG_BUDGET_PARENT_ALLOCATION; |
817 |
return MSG_BUDGET_PARENT_ALLOCATION; |
824 |
} else if (result == '2') { |
818 |
} else if (result == '2') { |
825 |
return MSG_BUDGET_PARENT_ALLOCATION; |
819 |
return MSG_BUDGET_PERIOD_ALLOCATION; |
826 |
} else { |
820 |
} else { |
827 |
return false; |
821 |
return false; |
828 |
} |
822 |
} |