Some tiny changes

This commit is contained in:
djmaze 2021-07-16 16:24:07 +02:00
parent 79945d45b4
commit 5213b804d9
5 changed files with 6 additions and 2 deletions

View file

@ -74,6 +74,7 @@ This fork of RainLoop has the following changes:
* Replaced old Sabre library
* AddressBook Contacts support MySQL/MariaDB utf8mb4
* Prevent Google FLoC
* Added [Fetch Metadata Request Headers](https://www.w3.org/TR/fetch-metadata/) checks
### Removal of old JavaScript

View file

@ -744,6 +744,7 @@ class ComposePopupView extends AbstractViewPopup {
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();
}

View file

@ -1,3 +1,4 @@
PHP
class Plugin extends \RainLoop\Plugins\AbstractPlugin
@ -196,7 +197,7 @@ $Plugin->addHook('hook.name', 'functionName');
string $sAction
array &$aResponseItem
### filter.message-html'
### filter.message-html
### filter.message-plain
params:
\RainLoop\Model\Account $oAccount

View file

@ -238,7 +238,7 @@ class Utils
{
static $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', '');
}
return $sAppPath;

View file

@ -26,6 +26,7 @@ class koSubscription
}
disposeWhenNodeIsRemoved(node) {
// MutationObserver ?
this._node = node;
ko.utils.domNodeDisposal.addDisposeCallback(node, this._domNodeDisposalCallback = this.dispose.bind(this));
}