Skip to content

Commit 3a05fa0

Browse files
authored
Make MessageBox minWidth configurable (#15996)
* Configurable MessageBox minWidth * Replace ternary with a shorter check
1 parent eb50704 commit 3a05fa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manager/assets/modext/core/modx.js

+1
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ Ext.extend(MODx.Msg,Ext.Component,{
911911
this.addListener(i,l.fn,l.scope || this,l.options || {});
912912
}
913913
}
914+
Ext.MessageBox.minWidth = config.minWidth || 200;
914915
Ext.Msg.confirm(config.title || _('warning'),config.text,function(e) {
915916
if (e == 'yes') {
916917
MODx.Ajax.request({

0 commit comments

Comments
 (0)