Project

General

Profile

« Previous | Next » 

Revision 61887

View differences:

repoControllers.js
325 325

  
326 326

  
327 327
		$scope.verifyMetaWf = function(ds, wf) {
328
			var compliance = '';
329
			var type = '';
330
			angular.forEach(ds.commonParams, function(p,pos) {
331
				if (p.id == 'compliance') {
332
					compliance = p.value;
333
				}
334
				if (p.id == 'typology') {
335
					type = p.value;
336
				}
337
			});
338

  
328
			var compliance = ds.compliance;
329
			var type = ds.repoType;
339 330
			return (compliance && type && $scope.isValidTerm(compliance, wf.compliances) && $scope.isValidTerm(type, wf.ifaceTypes)); 
340 331
		}
341 332

  

Also available in: Unified diff