mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
- 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:
@@ -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'); ?>
|
||||
|
||||
@@ -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);
|
||||
|
||||
});
|
||||
|
||||
@@ -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'
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user