Browse Source

Merge pull request #317 from dsbegnoche/patch-4

Save Query box fixes
pull/320/head
Sebastian Stehle 7 years ago
committed by GitHub
parent
commit
ada8fdb0da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Squidex/app/shared/components/search-form.component.html
  2. 1
      src/Squidex/app/shared/components/search-form.component.ts

2
src/Squidex/app/shared/components/search-form.component.html

@ -91,7 +91,7 @@
</ng-container> </ng-container>
<ng-container footer> <ng-container footer>
<button type="reset" class="float-left btn btn-secondary" (click)="saveQueryComplete()" [disabled]="saveQueryForm.submitted | async">Cancel</button> <button type="reset" class="float-left btn btn-secondary" (click)="saveQueryDialog.hide()" [disabled]="saveQueryForm.submitted | async">Cancel</button>
<button type="submit" class="float-right btn btn-success">Create</button> <button type="submit" class="float-right btn btn-success">Create</button>
</ng-container> </ng-container>
</sqx-modal-dialog> </sqx-modal-dialog>

1
src/Squidex/app/shared/components/search-form.component.ts

@ -90,6 +90,7 @@ export class SearchFormComponent implements OnChanges, OnInit {
} }
public saveQuery() { public saveQuery() {
this.saveQueryForm.submitCompleted({});
this.saveQueryDialog.show(); this.saveQueryDialog.show();
} }

Loading…
Cancel
Save