mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:39:00 +01:00
56571c6fc7
- Fix some event listeners - Add getCompleted() promise that resolves when the dialog closes. - Et2Dialog.alert() returns the promise directly, other static methods return the Et2Dialog to avoid breaking existing code You can now wait for a dialog with: Et2Dialog.show_prompt(null,"Name?").getComplete().then(([button_id,value]) => console.log(value)); or using async: [button_id, value] = await Et2Dialog.show_prompt(null,"Name?").getComplete(); if(button_id === Et2Dialog.BUTTON_OK) {...} |
||
---|---|---|
.. | ||
images | ||
inc | ||
js | ||
lang | ||
ntlm | ||
setup | ||
src | ||
templates | ||
tests | ||
anon_images.php | ||
anon_lavatar.php | ||
asyncservices.php | ||
asyncwrapper.php | ||
avatar.php | ||
categories.php | ||
changepwd.php | ||
config.php | ||
emclient-signatures.php | ||
etemplate.php | ||
images.php | ||
lang.php | ||
thumbnail.php | ||
user.php |