You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/02/07 05:48:30 UTC

[cloudstack] 01/02: ui: fix default text missing from network selection on instance wizard (#3865)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.13
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit f769c66bc16f5f31321f94c996e54894c69b0d3e
Author: Spaceman1984 <49...@users.noreply.github.com>
AuthorDate: Fri Feb 7 07:34:20 2020 +0200

    ui: fix default text missing from network selection on instance wizard (#3865)
    
    This PR fixes the missing "Default" display issue on the instance wizard when selecting a network.
    
    Fixes: #3633
---
 ui/scripts/ui-custom/instanceWizard.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js
index 4fa7e3f..b732b9c 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -330,9 +330,8 @@
                                             .attr('checked', false);
                                     }
                                 })
-                                .after(
-                                    $('<div>').addClass('name').html(options.secondary.desc)
-                                )
+                            ).append(
+                                $('<div>').addClass('name').html(options.secondary.desc)
                             ).appendTo($select);
                         }
                     });