Make form editor modals wider
[MAILPOET-1565]
This commit is contained in:
@@ -1137,6 +1137,7 @@ WysijaForm.Widget = window.Class.create(WysijaForm.Block, {
|
||||
title: window.MailPoet.I18n.t('editFieldSettings'),
|
||||
template: window.jQuery('#form_template_field_settings').html(),
|
||||
data: this.getData(),
|
||||
minWidth: '500px',
|
||||
onSuccess: function () {
|
||||
var data = window.jQuery('#form_field_settings').mailpoetSerializeObject();
|
||||
this.redraw(data);
|
||||
|
@@ -320,6 +320,9 @@ define('modal', ['mailpoet', 'jquery'],
|
||||
jQuery('#mailpoet_popup_wrapper').css({
|
||||
height: this.options.height
|
||||
});
|
||||
if (this.options.minWidth) {
|
||||
jQuery('#mailpoet_popup').css({ minWidth: this.options.minWidth });
|
||||
}
|
||||
break;
|
||||
case 'panel':
|
||||
// set dimensions
|
||||
|
Reference in New Issue
Block a user