Fixing answer text bug #6

Took 11 minutes
This commit is contained in:
Tobias Hopp 2020-10-04 18:26:49 +02:00
parent c0586a9ffa
commit 5116eb2550
2 changed files with 18 additions and 6 deletions

20
.idea/workspace.xml generated
View File

@ -32,7 +32,7 @@
<execution /> <execution />
</component> </component>
<component name="DarkyenusTimeTracker"> <component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="80889" /> <option name="totalTimeSeconds" value="81550" />
<option name="gitIntegration" value="true" /> <option name="gitIntegration" value="true" />
<option name="naggedAbout" value="1" /> <option name="naggedAbout" value="1" />
</component> </component>
@ -78,7 +78,7 @@
<updated>1601618466935</updated> <updated>1601618466935</updated>
<workItem from="1601618467981" duration="36776000" /> <workItem from="1601618467981" duration="36776000" />
<workItem from="1601809534320" duration="1558000" /> <workItem from="1601809534320" duration="1558000" />
<workItem from="1601811106543" duration="8798000" /> <workItem from="1601811106543" duration="9912000" />
</task> </task>
<task id="LOCAL-00001" summary="Initial commit"> <task id="LOCAL-00001" summary="Initial commit">
<created>1601618764031</created> <created>1601618764031</created>
@ -206,7 +206,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601826324292</updated> <updated>1601826324292</updated>
</task> </task>
<option name="localTasksCounter" value="19" /> <task id="LOCAL-00019" summary="Fixing a little bug">
<created>1601827583833</created>
<option name="number" value="00019" />
<option name="presentableId" value="LOCAL-00019" />
<option name="project" value="LOCAL" />
<updated>1601827583833</updated>
</task>
<option name="localTasksCounter" value="20" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -241,7 +248,8 @@
<MESSAGE value="Fix issue #4" /> <MESSAGE value="Fix issue #4" />
<MESSAGE value="Added room_owner and welcome message thingy(client-side)" /> <MESSAGE value="Added room_owner and welcome message thingy(client-side)" />
<MESSAGE value="Added room_owner and welcome message thingy(server-side)" /> <MESSAGE value="Added room_owner and welcome message thingy(server-side)" />
<option name="LAST_COMMIT_MESSAGE" value="Added room_owner and welcome message thingy(server-side)" /> <MESSAGE value="Fixing a little bug" />
<option name="LAST_COMMIT_MESSAGE" value="Fixing a little bug" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047"> <state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047">
@ -280,10 +288,10 @@
<screen x="0" y="34" width="1920" height="1046" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>
<state x="441" y="192" width="1037" height="736" key="SettingsEditor/0.34.1920.1046@0.34.1920.1046" timestamp="1601632853044" /> <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="1601827154453"> <state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601827584960">
<screen x="0" y="34" width="1920" height="1046" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601827154453" /> <state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601827584960" />
<state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog" timestamp="1601632983240"> <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" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>

4
vendor/js/faq.js vendored
View File

@ -159,6 +159,10 @@ function openAnswerModal( id )
{ {
answerText.val( result.data.answer ); answerText.val( result.data.answer );
} }
else
{
answerText.val( '' );
}
answer_id = result.data.id; answer_id = result.data.id;
}, function() { }, function() {
answerErrorMsg.html( 'An error occurred, please try again!' ); answerErrorMsg.html( 'An error occurred, please try again!' );