mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #3748: Add onClose event for dialogs
This commit is contained in:
parent
20740ad583
commit
709d57cc0a
@ -25,6 +25,12 @@ define(function(require) {
|
||||
that.onShow(dialogElement);
|
||||
});
|
||||
|
||||
dialogElement.on('opened.fndtn.close', function (e) {
|
||||
if (that.onClose) {
|
||||
that.onClose(dialogElement);
|
||||
}
|
||||
});
|
||||
|
||||
dialogElement.on('click', '.resetDialog', function() {
|
||||
that.reset();
|
||||
that.show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user