This commit is contained in:
Sagi Dayan 2015-08-03 01:40:24 +03:00
parent 9955bae56c
commit 3b1a2dbd07

View file

@ -98,7 +98,7 @@ angular.module('SeHub').controller('newTasksController', ['$scope', 'apiService'
compOrder++;
comp.isMandatory = $scope.newComp.isMandatory;
comp.label = "";
var i = 0
var i = 0;
if (!(type === 'textbox' || type === 'textarea' || type === 'checkbox'))
while ($scope.newComp.label[i]) {
comp.label += $scope.newComp.label[i] + "|";