commit
fe722413f1
|
@ -276,6 +276,7 @@ define([
|
|||
me.delayRenderTips = me.options.delayRenderTips || false;
|
||||
if (me.parentMenu)
|
||||
me.parentMenu.options.restoreHeight = (me.options.restoreHeight>0);
|
||||
me.delaySelect = me.options.delaySelect || false;
|
||||
me.rendered = false;
|
||||
me.dataViewItems = [];
|
||||
if (me.options.keyMoveDirection=='vertical')
|
||||
|
@ -396,10 +397,10 @@ define([
|
|||
});
|
||||
|
||||
if (record) {
|
||||
if (Common.Utils.isSafari) {
|
||||
if (this.delaySelect) {
|
||||
setTimeout(function () {
|
||||
record.set({selected: true});
|
||||
}, 200);
|
||||
}, 300);
|
||||
} else {
|
||||
record.set({selected: true});
|
||||
}
|
||||
|
|
|
@ -775,6 +775,7 @@ define([
|
|||
this.api.asc_enableKeyEvents(true);
|
||||
} else if (this.leftMenu.btnThumbnails.isActive()) {
|
||||
this.leftMenu.btnThumbnails.toggle(false);
|
||||
this.leftMenu.panelThumbnails.hide();
|
||||
this.leftMenu.onBtnMenuClick(this.leftMenu.btnThumbnails);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<div id="left-panel-chat" class="" style="display: none;"></div>
|
||||
<!-- /** coauthoring end **/ -->
|
||||
<div id="left-panel-navigation" class="" style="display: none; height: 100%;"></div>
|
||||
<div id="left-panel-plugins" class="" style="display: none; height: 100%;"></div>
|
||||
<div id="left-panel-thumbnails" class="" style="display: none; height: 100%;"></div>
|
||||
<div id="left-panel-plugins" class="" style="display: none; height: 100%;"></div>
|
||||
</div>
|
||||
</div>
|
|
@ -276,7 +276,8 @@ define([
|
|||
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()),
|
||||
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>'),
|
||||
delayRenderTips: true
|
||||
delayRenderTips: true,
|
||||
delaySelect: Common.Utils.isSafari
|
||||
});
|
||||
});
|
||||
this.btnChartType.render($('#chart-button-type'));
|
||||
|
|
|
@ -329,6 +329,10 @@ define([
|
|||
this.panelNavigation['hide']();
|
||||
this.btnNavigation.toggle(false, true);
|
||||
}
|
||||
if (this.panelThumbnails) {
|
||||
this.panelThumbnails['hide']();
|
||||
this.btnThumbnails.toggle(false, true);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ body {
|
|||
}
|
||||
|
||||
#viewport {
|
||||
overflow: scroll;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
|
|
@ -227,7 +227,8 @@ define([
|
|||
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()),
|
||||
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>'),
|
||||
delayRenderTips: true
|
||||
delayRenderTips: true,
|
||||
delaySelect: Common.Utils.isSafari
|
||||
});
|
||||
});
|
||||
this.btnChartType.render($('#chart-button-type'));
|
||||
|
|
|
@ -19,8 +19,6 @@ body {
|
|||
}
|
||||
|
||||
#viewport {
|
||||
overflow: scroll;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
@ -29,7 +27,6 @@ body {
|
|||
|
||||
#viewport-vbox-layout {
|
||||
.layout-item:nth-child(3) {
|
||||
overflow: scroll;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
|
|
|
@ -13,8 +13,6 @@ body {
|
|||
bottom: 0;
|
||||
|
||||
#viewport {
|
||||
overflow: auto;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
|
Loading…
Reference in a new issue