[All] debug of compact toolbar
This commit is contained in:
parent
0523524829
commit
b33382fb67
|
@ -2792,8 +2792,10 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFileMenu: function (opts) {
|
onFileMenu: function (opts) {
|
||||||
if ( opts == 'show' ) {}
|
if ( opts == 'show' ) {
|
||||||
else {
|
if ( !this.toolbar.isTabActive('file') )
|
||||||
|
this.toolbar.setTab('file');
|
||||||
|
} else {
|
||||||
if ( this.toolbar.isTabActive('file') )
|
if ( this.toolbar.isTabActive('file') )
|
||||||
this.toolbar.setTab();
|
this.toolbar.setTab();
|
||||||
}
|
}
|
||||||
|
|
|
@ -2065,8 +2065,10 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFileMenu: function (opts) {
|
onFileMenu: function (opts) {
|
||||||
if ( opts == 'show' ) {}
|
if ( opts == 'show' ) {
|
||||||
else {
|
if ( !this.toolbar.isTabActive('file') )
|
||||||
|
this.toolbar.setTab('file');
|
||||||
|
} else {
|
||||||
if ( this.toolbar.isTabActive('file') )
|
if ( this.toolbar.isTabActive('file') )
|
||||||
this.toolbar.setTab();
|
this.toolbar.setTab();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3035,8 +3035,10 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFileMenu: function (opts) {
|
onFileMenu: function (opts) {
|
||||||
if ( opts == 'show' ) {}
|
if ( opts == 'show' ) {
|
||||||
else {
|
if ( !this.toolbar.isTabActive('file') )
|
||||||
|
this.toolbar.setTab('file');
|
||||||
|
} else {
|
||||||
if ( this.toolbar.isTabActive('file') )
|
if ( this.toolbar.isTabActive('file') )
|
||||||
this.toolbar.setTab();
|
this.toolbar.setTab();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue