increase answer size

Took 9 minutes
This commit is contained in:
Tobias Hopp 2020-10-05 18:37:51 +02:00
parent 44c109b343
commit 0408fc6bff
3 changed files with 18 additions and 11 deletions

21
.idea/workspace.xml generated
View File

@ -33,7 +33,7 @@
<execution />
</component>
<component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="91835" />
<option name="totalTimeSeconds" value="92307" />
<option name="gitIntegration" value="true" />
<option name="naggedAbout" value="1" />
</component>
@ -79,7 +79,7 @@
<updated>1601618466935</updated>
<workItem from="1601618467981" duration="36776000" />
<workItem from="1601809534320" duration="1558000" />
<workItem from="1601811106543" duration="25808000" />
<workItem from="1601811106543" duration="26442000" />
</task>
<task id="LOCAL-00001" summary="Initial commit">
<created>1601618764031</created>
@ -312,7 +312,14 @@
<option name="project" value="LOCAL" />
<updated>1601892712824</updated>
</task>
<option name="localTasksCounter" value="34" />
<task id="LOCAL-00034" summary="Update optionsModal">
<created>1601915188719</created>
<option name="number" value="00034" />
<option name="presentableId" value="LOCAL-00034" />
<option name="project" value="LOCAL" />
<updated>1601915188719</updated>
</task>
<option name="localTasksCounter" value="35" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -331,7 +338,6 @@
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Final upload, should be running now" />
<MESSAGE value="Fixing a little things" />
<MESSAGE value="Should be the final commit" />
<MESSAGE value="&#10;Updating database-conf" />
@ -356,7 +362,8 @@
<MESSAGE value="Edit time and add br to the page end" />
<MESSAGE value="Store interval in a variable to turn it off later" />
<MESSAGE value="Performance update, add setup for refresh rate" />
<option name="LAST_COMMIT_MESSAGE" value="Performance update, add setup for refresh rate" />
<MESSAGE value="Update optionsModal" />
<option name="LAST_COMMIT_MESSAGE" value="Update optionsModal" />
</component>
<component name="WindowStateProjectService">
<state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047">
@ -395,10 +402,10 @@
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="441" y="192" width="1037" height="736" key="SettingsEditor/0.34.1920.1046@0.34.1920.1046" timestamp="1601632853044" />
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601892939700">
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601915189764">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601892939700" />
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601915189764" />
<state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog" timestamp="1601632983240">
<screen x="0" y="34" width="1920" height="1046" />
</state>

View File

@ -98,7 +98,7 @@
<span class="text-danger" id="answerErrorMsg"></span>
<div class="form-group">
<label for="answer" class="col-form-label">Answer</label>
<textarea name="answer" class="form-control" id="answer" minlength="5" maxlength="1000" rows="4"></textarea>
<textarea name="answer" class="form-control" id="answer" minlength="5" maxlength="5000" rows="6"></textarea>
</div>
</div>
<div class="modal-footer">
@ -122,7 +122,7 @@
<span class="text-danger" id="optionsErrorMsg"></span>
<div class="form-group">
<label for="lock_room">Lock Room?</label>
<input type="checkbox" id="lock_room">
<input type="checkbox" class="form-control" checked="false" id="lock_room">
</div>
</div>
<div class="modal-footer">

4
vendor/js/faq.js vendored
View File

@ -181,9 +181,9 @@ function answer()
return;
}
if( answerText.val().length < 5 || answerText.val().length > 1000 )
if( answerText.val().length < 5 || answerText.val().length > 5000 )
{
answerErrorMsg.html( 'The answer should contain 10-1000 characters!' );
answerErrorMsg.html( 'The answer should contain 10-5000 characters!' );
return;
}