1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #3748: Do not redefine resize event

This commit is contained in:
Daniel Molina 2015-06-08 18:42:47 +02:00
parent 772ab15a3c
commit 25e30a5e65

View File

@ -65,6 +65,7 @@ define(function(require) {
function _setup(context) {
var that = this;
if (Config.isTabActionEnabled("vms-tab", "VM.resize")) {
context.off('click', '#resize_capacity');
context.on('click', '#resize_capacity', function() {
var dialog = Sunstone.getDialog(RESIZE_DIALOG_ID);
dialog.setElement(that.element);