mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
- Write message page is opened in same window
- After message is sent then read page is loaded
This commit is contained in:
@@ -179,7 +179,10 @@ function _getMessages(getMessagesURL)
|
||||
*/
|
||||
function writeNewMessage()
|
||||
{
|
||||
window.open("write", "_blank");
|
||||
window.location = FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
||||
FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/" +
|
||||
FHC_JS_DATA_STORAGE_OBJECT.called_path +
|
||||
"/write";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,7 +25,10 @@ function sendMessageToOU()
|
||||
|
||||
if (FHC_AjaxClient.isSuccess(data))
|
||||
{
|
||||
FHC_DialogLib.alertSuccess(FHC_PhrasesLib.t("global", "messageSent"));
|
||||
window.location = FHC_JS_DATA_STORAGE_OBJECT.app_root +
|
||||
FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/" +
|
||||
FHC_JS_DATA_STORAGE_OBJECT.called_path +
|
||||
"/read";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user