- View system/messages/ajaxWrite added new button backButton

- Added new function backToInOut to public/js/messaging/write.js
- Assigned function backToInOut to backButton click event
- Added new phrase backToReadWeiteMeassage to system/phrasesupdate.php
This commit is contained in:
Paolo
2020-04-01 18:27:10 +02:00
parent e038fa4f34
commit 299f16dd8c
3 changed files with 39 additions and 0 deletions
@@ -85,6 +85,12 @@
<br>
<div class="row">
<div class="col-lg-12 text-right">
<button id="backButton" class="btn btn-default" type="button">
<?php echo $this->p->t('ui', 'backToReadWeiteMeassage'); ?>
</button>
<button id="sendButton" class="btn btn-default" type="button">
<?php echo $this->p->t('ui', 'senden'); ?>
+12
View File
@@ -44,6 +44,16 @@ function sendMessageToOU()
}
}
/**
*
*/
function backToInOut()
{
window.location = FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/" +
FHC_JS_DATA_STORAGE_OBJECT.called_path + "/read";
}
/**
*
*/
@@ -60,4 +70,6 @@ $(document).ready(function () {
$('#sendButton').click(sendMessageToOU);
$('#backButton').click(backToInOut);
});
+21
View File
@@ -4453,7 +4453,28 @@ When on hold, the date is only a reminder.',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'ui',
'phrase' => 'backToReadWeiteMeassage',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Zurück zum Inbox/Outbox',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Back to Inbox/Outbox',
'description' => '',
'insertvon' => 'system'
)
)
)
);