mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
remove test/javascript
This commit is contained in:
@@ -347,7 +347,7 @@ class ClientManager
|
||||
}
|
||||
|
||||
return $this->getTabHtml() .
|
||||
"<script type=\"text/javascript\" src=\"$src\" data-base-path=\"$this->basePath\"$noncePart></script>";
|
||||
"<script src=\"$src\" data-base-path=\"$this->basePath\"$noncePart></script>";
|
||||
}
|
||||
|
||||
private function getCssItemHtml(string $file, int $appTimestamp): string
|
||||
|
||||
@@ -847,8 +847,6 @@
|
||||
src = this._basePath + src;
|
||||
|
||||
const scriptEl = document.createElement('script');
|
||||
|
||||
scriptEl.setAttribute('type', 'text/javascript')
|
||||
scriptEl.setAttribute('src', src);
|
||||
|
||||
scriptEl.addEventListener('error', event => {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link rel="alternate icon" href="{{basePath}}{{faviconAlternate}}" type="image/x-icon">
|
||||
<link rel="icon" href="{{basePath}}{{favicon}}" type="{{faviconType}}">
|
||||
<script type="text/javascript" nonce="{{nonce}}">
|
||||
<script nonce="{{nonce}}">
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
require('{{appClientClassName}}', App => {
|
||||
new App({
|
||||
|
||||
Reference in New Issue
Block a user