mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
[chatgpt] Update deploy plugin. [marketplace] Fix error message.
This commit is contained in:
Binary file not shown.
@ -16,6 +16,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// todo поправить с ошибкой, что у нее нет поля message (может её тогда совсем не выводить или показать просто error)
|
||||
let start = Date.now();
|
||||
let isPluginLoading = false; // flag plugins loading
|
||||
const isDesktop = window.AscDesktopEditor !== undefined; // desktop detecting
|
||||
@ -965,7 +966,7 @@ function createError(err) {
|
||||
background.className = 'asc-plugin-loader';
|
||||
let span = document.createElement('span');
|
||||
span.className = 'error_caption';
|
||||
span.innerHTML = err.message;
|
||||
span.innerHTML = err.message || 'Error';
|
||||
background.appendChild(span);
|
||||
document.getElementById('div_error').appendChild(background);
|
||||
document.getElementById('div_error').classList.remove('hidden');
|
||||
|
||||
Reference in New Issue
Block a user