Merge pull request #536 from ONLYOFFICE/fix/bugfix

Fix/bugfix
This commit is contained in:
Julia Radzhabova 2020-10-27 11:24:47 +03:00 committed by GitHub
commit c1f4d46f75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -203,6 +203,10 @@ define([
}
$('#edit-link-edit').toggleClass('disabled', (_linkType==c_oHyperlinkType.WebLink) && _.isEmpty($('#edit-link-url input').val()));
$('#edit-link-url input[type=url]').single('input', _.bind(function (e) {
$('#edit-link-edit').toggleClass('disabled', _.isEmpty($(e.currentTarget).val()));
}, me));
}
},

View file

@ -219,7 +219,9 @@ define([
showSetApp: function () {
this.showPage('#settings-application-view');
$('.page[data-page=settings-application-view] .page-content > :not(.display-view)').hide();
if (!isEdit) {
$('.page[data-page=settings-application-view] .page-content > :not(.display-view)').hide();
}
if (isShowMacros) {
$('#settings-macros').single('click', _.bind(this.showMacros, this));
}