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

(cherry picked from commit 464ec1b4b1)
This commit is contained in:
Carlos Martín committed 2014-11-18 16:32:56 +01:00
1 parent ade62642bc
commit ae4ad95c2a
1 file changed
+3 -1
+3 -1
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 () {