minor changes
This commit is contained in:
parent
bac2e90d23
commit
aba077cc14
@ -5,6 +5,7 @@
|
|||||||
.modal-content {
|
.modal-content {
|
||||||
width: 1040px;
|
width: 1040px;
|
||||||
right: 55%;
|
right: 55%;
|
||||||
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
|
@ -7,8 +7,11 @@ import {
|
|||||||
ScrumStatus,
|
ScrumStatus,
|
||||||
ScrumCategory,
|
ScrumCategory,
|
||||||
ScrumUser,
|
ScrumUser,
|
||||||
ScrumProject
|
ScrumProject,
|
||||||
|
ScrumUserstory
|
||||||
} from '../services/backend.service';
|
} from '../services/backend.service';
|
||||||
|
import { Observable } from 'rxjs';
|
||||||
|
import { HttpResponse } from '@angular/common/http';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-task-form',
|
selector: 'app-task-form',
|
||||||
@ -29,6 +32,8 @@ export class TaskFormComponent implements OnInit {
|
|||||||
this.editing = true;
|
this.editing = true;
|
||||||
}
|
}
|
||||||
document.getElementById('titleField').focus();
|
document.getElementById('titleField').focus();
|
||||||
|
|
||||||
|
this.getRelatedStory();
|
||||||
}
|
}
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
@ -51,4 +56,11 @@ export class TaskFormComponent implements OnInit {
|
|||||||
onClose() {
|
onClose() {
|
||||||
this.activeModalService.dismiss(this.task);
|
this.activeModalService.dismiss(this.task);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getRelatedStory(): any{
|
||||||
|
|
||||||
|
console.log(this.backendService.getUserstory(1));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ export class UserstoryFormComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
this.editing = true;
|
this.editing = true;
|
||||||
}
|
}
|
||||||
this.focusTitleField();
|
document.getElementById('titleField').focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
@ -43,7 +43,7 @@ export class UserstoryFormComponent implements OnInit {
|
|||||||
this.activeModalService.dismiss(this.userstory);
|
this.activeModalService.dismiss(this.userstory);
|
||||||
}
|
}
|
||||||
|
|
||||||
focusTitleField() {
|
//focusTitleField() {
|
||||||
document.getElementById('titleField').focus();
|
// document.getElementById('titleField').focus();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user