mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
Fix unable to use only OK button constant
This commit is contained in:
parent
ab9423573b
commit
546fb77abb
@ -456,8 +456,8 @@ jQuery.extend(et2_dialog,
|
|||||||
callback: _callback||function(){},
|
callback: _callback||function(){},
|
||||||
message: _message,
|
message: _message,
|
||||||
title: _title||egw.lang('Confirmation required'),
|
title: _title||egw.lang('Confirmation required'),
|
||||||
buttons: _buttons||et2_dialog.BUTTONS_YES_NO,
|
buttons: typeof _buttons != 'undefined' ? _buttons : et2_dialog.BUTTONS_YES_NO,
|
||||||
dialog_type: _type||et2_dialog.QUESTION_MESSAGE,
|
dialog_type: typeof _type != 'undefined' ? _type : et2_dialog.QUESTION_MESSAGE,
|
||||||
icon: _icon,
|
icon: _icon,
|
||||||
value: _value
|
value: _value
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user