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

Bug #3291: Keep vnet id when new AR dialog is reset

This commit is contained in:
Carlos Martín 2014-11-18 16:31:50 +01:00
parent 3959dcabac
commit 464ec1b4b1

View File

@ -1666,10 +1666,12 @@ function setupAddARDialog(){
setup_ar_tab_content(dialog, "add_ar")
$('#submit_ar_reset_button').click(function(){
var vnet_id = $('#vnet_id', $add_ar_dialog).text();
$add_ar_dialog.html("");
setupAddARDialog();
popUpAddAR();
popUpAddAR(vnet_id);
});
$('#add_ar_form',dialog).on('invalid', function () {