mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Merge pull request 'refactoring' (#419) from fix/about into release/v9.1.0
This commit is contained in:
@ -156,7 +156,6 @@
|
|||||||
this.view.$menuitem && this.view.$menuitem.removeClass('extra');
|
this.view.$menuitem && this.view.$menuitem.removeClass('extra');
|
||||||
this.view.$body = $(this.view.paneltemplate(args));
|
this.view.$body = $(this.view.paneltemplate(args));
|
||||||
this.view.$dialog = new AboutDialog();
|
this.view.$dialog = new AboutDialog();
|
||||||
this.view.$dialog.setBody(this.view.$body)
|
|
||||||
} else {
|
} else {
|
||||||
if ( !!args.opts && !!args.opts.edition ) {
|
if ( !!args.opts && !!args.opts.edition ) {
|
||||||
$('#idx-ver-edition', this.view.$body).html(args.opts.edition);
|
$('#idx-ver-edition', this.view.$body).html(args.opts.edition);
|
||||||
@ -279,6 +278,7 @@
|
|||||||
const onPanelShow = function(panel) {
|
const onPanelShow = function(panel) {
|
||||||
if (panel === this.action) {
|
if (panel === this.action) {
|
||||||
this.view.$dialog.show();
|
this.view.$dialog.show();
|
||||||
|
this.view.$dialog.setBody(this.view.$body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user