commit
735315260c
|
@ -486,7 +486,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 50px'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 52px'});
|
||||
|
||||
this._state.TemplateId = value;
|
||||
}
|
||||
|
@ -695,7 +695,7 @@ define([
|
|||
cls : 'btn-large-dataview template-table',
|
||||
iconCls : 'icon-template-table',
|
||||
menu : new Common.UI.Menu({
|
||||
style: 'width: 575px;',
|
||||
style: 'width: 588px;',
|
||||
items: [
|
||||
{ template: _.template('<div id="id-table-menu-template" class="menu-table-template" style="margin: 5px 5px 5px 10px;"></div>') }
|
||||
]
|
||||
|
@ -708,7 +708,7 @@ define([
|
|||
restoreHeight: 350,
|
||||
groups: new Common.UI.DataViewGroupStore(),
|
||||
store: new Common.UI.DataViewStore(),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="50" width="70"></div>'),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="52" width="72"></div>'),
|
||||
style: 'max-height: 350px;'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -437,7 +437,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 50px'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 52px'});
|
||||
|
||||
this._state.TemplateId = value;
|
||||
}
|
||||
|
@ -639,7 +639,7 @@ define([
|
|||
cls : 'btn-large-dataview template-table',
|
||||
iconCls : 'icon-template-table',
|
||||
menu : new Common.UI.Menu({
|
||||
style: 'width: 575px;',
|
||||
style: 'width: 588px;',
|
||||
items: [
|
||||
{ template: _.template('<div id="id-table-menu-template" class="menu-table-template" style="margin: 5px 5px 5px 10px;"></div>') }
|
||||
]
|
||||
|
@ -652,7 +652,7 @@ define([
|
|||
restoreHeight: 350,
|
||||
groups: new Common.UI.DataViewGroupStore(),
|
||||
store: new Common.UI.DataViewStore(),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="50" width="70"></div>'),
|
||||
itemTemplate: _.template('<div id="<%= id %>" class="item"><img src="<%= imageUrl %>" height="52" width="72"></div>'),
|
||||
style: 'max-height: 350px;'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue