mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-05 14:19:27 +00:00
Bugfix: Infocenter write page person id and prestudent id are swapped
This commit is contained in:
@@ -21,14 +21,18 @@ function parseMessageText(receiver_id, text)
|
||||
{
|
||||
var data = {text: text};
|
||||
|
||||
if ($("#type").val() == 'person_id')
|
||||
if ($("#type").val() == 'persons')
|
||||
{
|
||||
data.person_id = receiver_id;
|
||||
}
|
||||
else
|
||||
else if ($("#type").val() == 'prestudents')
|
||||
{
|
||||
data.prestudent_id = receiver_id;
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
FHC_AjaxClient.ajaxCallGet(
|
||||
"system/messages/Messages/parseMessageText",
|
||||
|
||||
Reference in New Issue
Block a user