[all] fix bug 49741
This commit is contained in:
parent
941e32391c
commit
4533ceafd7
|
@ -527,6 +527,11 @@
|
||||||
width: 21px;
|
width: 21px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -469,7 +469,7 @@ define([
|
||||||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||||
this.btnTableTemplate.resumeEvents();
|
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': 'cover'});
|
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._state.TemplateId = value;
|
this._state.TemplateId = value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -437,7 +437,7 @@ define([
|
||||||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||||
this.btnTableTemplate.resumeEvents();
|
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': 'cover'});
|
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._state.TemplateId = value;
|
this._state.TemplateId = value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -452,7 +452,7 @@ define([
|
||||||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||||
this.btnTableTemplate.resumeEvents();
|
this.btnTableTemplate.resumeEvents();
|
||||||
|
|
||||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '48px', 'width': '63px', 'background-position': 'center', 'background-size': 'cover'});
|
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '48px', 'width': '63px', 'background-position': 'center', 'background-size': 'auto 50px'});
|
||||||
|
|
||||||
this._state.TemplateName=value;
|
this._state.TemplateName=value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue