mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +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();
|
||||
dialog.dialog({
|
||||
title: jQuery('.promptheader',popup).text(),
|
||||
modal: true,
|
||||
buttons: d_buttons,
|
||||
minWidth: dialog.outerWidth(true),
|
||||
minWidth: dialog_width,
|
||||
close: function(event, ui) {
|
||||
// Need to destroy the dialog, etemplate widget needs divs back where they were
|
||||
dialog.dialog("destroy");
|
||||
|
Loading…
Reference in New Issue
Block a user