forked from tykayn/funky-framadate-front
default max count of answers set to a big number
This commit is contained in:
parent
5c1e7119b2
commit
62489dd250
@ -818,8 +818,8 @@ export class PollService implements Resolve<Poll> {
|
||||
}
|
||||
newpoll.description = form.value.description;
|
||||
newpoll.has_several_hours = form.value.hasSeveralHours;
|
||||
newpoll.max_count_of_answers = form.value.maxCountOfAnswers;
|
||||
newpoll.maxCountOfAnswers = form.value.maxCountOfAnswers;
|
||||
newpoll.max_count_of_answers = form.value.maxCountOfAnswers | (1024 * 10);
|
||||
newpoll.maxCountOfAnswers = form.value.maxCountOfAnswers | (1024 * 10);
|
||||
newpoll.password = form.value.password;
|
||||
newpoll.kind = form.value.isAboutDate ? 'date' : 'classic';
|
||||
newpoll.allow_comments = form.value.allowComments;
|
||||
|
@ -16,6 +16,7 @@
|
||||
</button>
|
||||
|
||||
<form action="#/administration/step/{{ pollService.step_current }}">
|
||||
<dialog [attr.aria-labelledby]="'popup.languages.title' | translate" role="dialog">
|
||||
<p-dialog
|
||||
[modal]="true"
|
||||
[(visible)]="display_lang_dialog"
|
||||
@ -24,8 +25,6 @@
|
||||
[draggable]="false"
|
||||
[showHeader]="false"
|
||||
[resizable]="true"
|
||||
[attr.aria-labelledby]="'popup.languages.title' | translate"
|
||||
role="dialog"
|
||||
id="lang_selector_modale"
|
||||
>
|
||||
<ng-template pTemplate="titlebar">
|
||||
@ -75,7 +74,10 @@
|
||||
</div>
|
||||
|
||||
<div class="list-of-langs is-static" *ngIf="!display_dynamic_langs">
|
||||
<div *ngFor="let language of availableLanguagesStatic" (click)="language_to_apply = language.value">
|
||||
<div
|
||||
*ngFor="let language of availableLanguagesStatic"
|
||||
(click)="language_to_apply = language.value"
|
||||
>
|
||||
<label
|
||||
[attr.for]="'#lang_' + language"
|
||||
class="lang-element button is-action"
|
||||
@ -110,5 +112,6 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
</p-dialog>
|
||||
</dialog>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user