mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Merge pull request 'fix: bug 75328' (#542) from fix/bug-75328 into hotfix/v9.0.3
This commit is contained in:
@ -151,7 +151,7 @@ const ToolbarController = inject('storeAppOptions', 'users', 'storeToolbarSettin
|
||||
],
|
||||
on: {
|
||||
opened: () => {
|
||||
const nameDoc = docTitle.split('.')[0];
|
||||
const nameDoc = docTitle.slice(0, docTitle.lastIndexOf("."));
|
||||
const titleField = document.querySelector('#modal-title');
|
||||
const btnChangeTitle = document.querySelector('.btn-change-title');
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ const SettingsController = props => {
|
||||
],
|
||||
on: {
|
||||
opened: () => {
|
||||
const nameDoc = docTitle.split('.')[0];
|
||||
const nameDoc = docTitle.slice(0, docTitle.lastIndexOf("."));
|
||||
const titleField = document.querySelector('#modal-title');
|
||||
const btnChangeTitle = document.querySelector('.btn-change-title');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user