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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
3 deletions
-
src/Squidex/app/shared/components/search-form.component.html
-
src/Squidex/app/shared/components/search-form.component.ts
|
|
|
@ -91,9 +91,9 @@ |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
<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> |
|
|
|
</ng-container> |
|
|
|
</sqx-modal-dialog> |
|
|
|
</form> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
@ -90,6 +90,7 @@ export class SearchFormComponent implements OnChanges, OnInit { |
|
|
|
} |
|
|
|
|
|
|
|
public saveQuery() { |
|
|
|
this.saveQueryForm.submitCompleted({}); |
|
|
|
this.saveQueryDialog.show(); |
|
|
|
} |
|
|
|
|
|
|
|
@ -186,4 +187,4 @@ export class SearchFormComponent implements OnChanges, OnInit { |
|
|
|
|
|
|
|
this.contentsFilter.setValue(query); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|