1
0
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:
Daniel Molina 2015-06-10 15:49:29 +02:00
parent 20740ad583
commit 709d57cc0a

View File

@ -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();