mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
Fix nm_popup dialog does not display full content of button's label
This commit is contained in:
parent
1bec5bb261
commit
2021a8227e
@ -431,12 +431,14 @@ function nm_open_popup(_action, _selected)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
// Need to get the dialog width before make it hidden
|
||||||
|
var dialog_width = dialog.outerWidth(true);
|
||||||
popup.hide();
|
popup.hide();
|
||||||
dialog.dialog({
|
dialog.dialog({
|
||||||
title: jQuery('.promptheader',popup).text(),
|
title: jQuery('.promptheader',popup).text(),
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: d_buttons,
|
buttons: d_buttons,
|
||||||
minWidth: dialog.outerWidth(true),
|
minWidth: dialog_width,
|
||||||
close: function(event, ui) {
|
close: function(event, ui) {
|
||||||
// Need to destroy the dialog, etemplate widget needs divs back where they were
|
// Need to destroy the dialog, etemplate widget needs divs back where they were
|
||||||
dialog.dialog("destroy");
|
dialog.dialog("destroy");
|
||||||
|
Loading…
Reference in New Issue
Block a user