mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Some tiny changes
This commit is contained in:
parent
79945d45b4
commit
5213b804d9
5 changed files with 6 additions and 2 deletions
|
|
@ -74,6 +74,7 @@ This fork of RainLoop has the following changes:
|
||||||
* Replaced old Sabre library
|
* Replaced old Sabre library
|
||||||
* AddressBook Contacts support MySQL/MariaDB utf8mb4
|
* AddressBook Contacts support MySQL/MariaDB utf8mb4
|
||||||
* Prevent Google FLoC
|
* Prevent Google FLoC
|
||||||
|
* Added [Fetch Metadata Request Headers](https://www.w3.org/TR/fetch-metadata/) checks
|
||||||
|
|
||||||
### Removal of old JavaScript
|
### Removal of old JavaScript
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -744,6 +744,7 @@ class ComposePopupView extends AbstractViewPopup {
|
||||||
this.initOnShow(type, oMessageOrArray, aToEmails, aCcEmails, aBccEmails, sCustomSubject, sCustomPlainText);
|
this.initOnShow(type, oMessageOrArray, aToEmails, aCcEmails, aBccEmails, sCustomSubject, sCustomPlainText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// (navigator.standalone || matchMedia('(display-mode: standalone)').matches || matchMedia('(display-mode: fullscreen)').matches) &&
|
||||||
ThemeStore.isMobile() && this.oContent.requestFullscreen && this.oContent.requestFullscreen();
|
ThemeStore.isMobile() && this.oContent.requestFullscreen && this.oContent.requestFullscreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
PHP
|
||||||
|
|
||||||
class Plugin extends \RainLoop\Plugins\AbstractPlugin
|
class Plugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
|
|
||||||
|
|
@ -196,7 +197,7 @@ $Plugin->addHook('hook.name', 'functionName');
|
||||||
string $sAction
|
string $sAction
|
||||||
array &$aResponseItem
|
array &$aResponseItem
|
||||||
|
|
||||||
### filter.message-html'
|
### filter.message-html
|
||||||
### filter.message-plain
|
### filter.message-plain
|
||||||
params:
|
params:
|
||||||
\RainLoop\Model\Account $oAccount
|
\RainLoop\Model\Account $oAccount
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,7 @@ class Utils
|
||||||
{
|
{
|
||||||
static $sAppPath;
|
static $sAppPath;
|
||||||
if (!$sAppPath) {
|
if (!$sAppPath) {
|
||||||
$sAppPath = \preg_replace('#index\\.php.*$#D', '$1', $_SERVER['SCRIPT_NAME']);
|
$sAppPath = \preg_replace('#index\\.php.*$#D', '', $_SERVER['SCRIPT_NAME']);
|
||||||
// $sAppPath = Api::Config()->Get('labs', 'app_default_path', '');
|
// $sAppPath = Api::Config()->Get('labs', 'app_default_path', '');
|
||||||
}
|
}
|
||||||
return $sAppPath;
|
return $sAppPath;
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ class koSubscription
|
||||||
}
|
}
|
||||||
|
|
||||||
disposeWhenNodeIsRemoved(node) {
|
disposeWhenNodeIsRemoved(node) {
|
||||||
|
// MutationObserver ?
|
||||||
this._node = node;
|
this._node = node;
|
||||||
ko.utils.domNodeDisposal.addDisposeCallback(node, this._domNodeDisposalCallback = this.dispose.bind(this));
|
ko.utils.domNodeDisposal.addDisposeCallback(node, this._domNodeDisposalCallback = this.dispose.bind(this));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue