Bugfixes
This commit is contained in:
parent
2961b9e2f2
commit
660a509b33
|
@ -18,16 +18,23 @@ RosaABF.controller('RosaABFController', ['$scope', 'LocalesHelper', 'SoundNotifi
|
|||
toggle = false;
|
||||
}
|
||||
|
||||
if(toggle) {
|
||||
if(typeof $cookies.get('toggle') == 'undefined') {
|
||||
$scope.toggle = toggle;
|
||||
}
|
||||
else {
|
||||
$scope.toggle = $cookies.get('toggle') == 'true' ? true : false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$scope.toggle = false;
|
||||
}
|
||||
|
||||
$scope.toggleSidebar = function() {
|
||||
$scope.toggle = !$scope.toggle;
|
||||
if(toggle) {
|
||||
$cookies.put("toggle", $scope.toggle);
|
||||
}
|
||||
};
|
||||
|
||||
}]);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
= f.input :name
|
||||
= f.input :description, as: :text
|
||||
|
||||
div ng-controller="ProjectsVersionsTypeaheadController" ng-init=('init("'+@platform.name+'","'+@product.project.try(:name_with_owner).to_s+'","'+@product.project_id.to_s+'","'+@product.project_version+'")')
|
||||
div ng-controller="ProjectsVersionsTypeaheadController" ng-init=('init("'+@platform.name+'","'+@product.project.try(:name_with_owner).to_s+'","'+@product.project_id.to_s+'","'+@product.project_version.to_s+'")')
|
||||
= f.input :project_id, as: :string,
|
||||
input_html: { uib_typeahead: 'project.name for project in getProjects($viewValue)',
|
||||
typeahead_wait_ms: 200,
|
||||
|
|
Loading…
Reference in New Issue