- Write message page is opened in same window

- After message is sent then read page is loaded
This commit is contained in:
Paolo
2019-11-14 14:21:36 +01:00
parent 565cf93f5d
commit 415b37a8f4
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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";
}
/**
+4 -1
View File
@@ -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
{