Compare commits

..

7 Commits

3 changed files with 9 additions and 3 deletions

View File

@@ -338,6 +338,9 @@ HTML
<value id="IMAP">
<code>IMAP</code>
</value>
<value id="WEBHOOK">
<code>WEBHOOK</code>
</value>
</values>
<sql>scope</sql>
<default_value>SMTP,IMAP</default_value>
@@ -660,6 +663,9 @@ HTML
<value id="IMAP">
<code>IMAP</code>
</value>
<value id="WEBHOOK">
<code>WEBHOOK</code>
</value>
</values>
<sql>scope</sql>
<default_value>SMTP,IMAP</default_value>

View File

@@ -31,7 +31,7 @@ $.fn.modal.Constructor.prototype.enforceFocus = function () {
var $parent = $(e.target.parentNode);
if ($modalElement[0] !== e.target && !$modalElement.has(e.target).length &&
!$parent.hasClass('ck-input')) {
e.target.focus()
$(e.target.activeElement).focus();
}
})
};

View File

@@ -919,7 +919,7 @@ class WebPage implements Page
// Check if URI is absolute ("://" do allow any protocol), otherwise warn that it's a deprecated behavior
if (false === stripos($sLinkedScriptAbsUrl, "://")) {
IssueLog::Warning("Linked script added to page via deprecated API with a non absolute URL, it may lead to it not being loaded and causing javascript errors.", null, [
IssueLog::Debug("Linked script added to page with a non absolute URL, it may lead to it not being loaded and causing javascript errors. See alternatives WebPage::LinkScriptFromXXX", null, [
"linked_script_url" => $sLinkedScriptAbsUrl,
"request_uri" => $_SERVER['REQUEST_URI'] ?? '' /* CLI */,
]);
@@ -1188,7 +1188,7 @@ JS;
// Check if URI is absolute ("://" do allow any protocol), otherwise warn that it's a deprecated behavior
if (false === stripos($sLinkedStylesheet, "://")) {
IssueLog::Warning("Linked stylesheet added to page via deprecated API with a non absolute URL, it may lead to it not being loaded and causing visual glitches.", null, [
IssueLog::Debug("Linked stylesheet added to page with a non absolute URL, it may lead to it not being loaded and causing visual glitches. See alternatives WebPage::LinkStylesheetFromXXX", null, [
"linked_stylesheet_url" => $sLinkedStylesheet,
"request_uri" => $_SERVER['REQUEST_URI'] ?? '' /* CLI */,
]);