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