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:
parent
772ab15a3c
commit
25e30a5e65
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user