Merge pull request #1081 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 50285
This commit is contained in:
commit
36135f935a
|
@ -1982,7 +1982,7 @@ define([
|
|||
restoreHeight: 300,
|
||||
style: 'max-height: 300px;',
|
||||
store: me.getCollection('TableTemplates'),
|
||||
itemTemplate: _.template('<div class="item-template"><img src="<%= imageUrl %>" id="<%= id %>" style="width:61px;height:46px;"></div>')
|
||||
itemTemplate: _.template('<div class="item-template"><img src="<%= imageUrl %>" id="<%= id %>" style="width:60px;height:44px;"></div>')
|
||||
});
|
||||
|
||||
picker.on('item:click', function(picker, item, record) {
|
||||
|
|
|
@ -452,7 +452,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '46px', 'width': '61px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '44px', 'width': '60px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
|
||||
this._state.TemplateName=value;
|
||||
}
|
||||
|
@ -474,7 +474,7 @@ define([
|
|||
cls : 'btn-large-dataview sheet-template-table',
|
||||
iconCls : 'icon-template-table',
|
||||
menu : new Common.UI.Menu({
|
||||
style: 'width: 512px;',
|
||||
style: 'width: 505px;',
|
||||
items: [
|
||||
{ template: _.template('<div id="id-table-menu-template" class="menu-table-template" style="margin: 5px 5px 5px 10px;"></div>') }
|
||||
]
|
||||
|
@ -487,7 +487,7 @@ define([
|
|||
restoreHeight: 325,
|
||||
groups: new Common.UI.DataViewGroupStore(),
|
||||
store: new Common.UI.DataViewStore(),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="46" width="61"></div>'),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="44" width="60"></div>'),
|
||||
style: 'max-height: 325px;'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -801,7 +801,7 @@ define([
|
|||
lock : [_set.editCell, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selSlicer, _set.lostConnect, _set.coAuth, _set.ruleFilter, _set.multiselect, _set.cantModifyFilter],
|
||||
menu : new Common.UI.Menu({
|
||||
items: [
|
||||
{ template: _.template('<div id="id-toolbar-menu-table-templates" style="width: 494px; height: 300px; margin: 0px 4px;"></div>') }
|
||||
{ template: _.template('<div id="id-toolbar-menu-table-templates" style="width: 487px; height: 300px; margin: 0px 4px;"></div>') }
|
||||
]
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue