| Lines 132-137
          var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget")
      
      
        Link Here | 
        
          | 132 |             _alertString += result; | 132 |             _alertString += result; | 
        
          | 133 |         } | 133 |         } | 
        
          | 134 |  | 134 |  | 
            
              |  |  | 135 |         // If a restriction is defined, an owner should be defined too. | 
            
              | 136 |         if ( $("#budget_permission").val() > 0 ) { | 
            
              | 137 |             var budget_owner_id = $("#budget_owner_id").val(); | 
            
              | 138 |             if ( budget_owner_id == 0 || budget_owner_id.length <= 0 ) { | 
            
              | 139 |                 _alertString += _("- If a restriction is defined, you must define an owner for this fund.") | 
            
              | 140 |             } | 
            
              | 141 |         } | 
            
              | 142 |  | 
        
          | 135 |         if (_alertString.length==0) { | 143 |         if (_alertString.length==0) { | 
        
          | 136 |             document.Aform.submit(); | 144 |             document.Aform.submit(); | 
        
          | 137 |         } else { | 145 |         } else { | 
            
              | 138 | -  |  |  |