cloudstack 3.0 UI - VPC - create private gateway action - make it async instead of sync.

This commit is contained in:
Jessica Wang 2012-07-16 15:17:23 -07:00
parent 0fdf1a1d8a
commit 845569b121
1 changed files with 10 additions and 5 deletions

View File

@ -439,7 +439,12 @@
return true;
else
return false;
},
},
messages: {
notification: function(args) {
return 'Add new gateway';
}
},
createForm: {
title: 'Add new gateway',
desc: 'Please specify the information to add a new gateway to this VPC.',
@ -476,10 +481,10 @@
args.response.error(parseXMLHttpResponse(json));
}
});
},
messages: {
notification: function() { return 'Add gateway to VPC'; }
}
},
notification: {
poll: pollAsyncJobResult
}
}
},
dataProvider: function(args) {