Skip to content

Commit

Permalink
Fix disk and nic close button in template wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosms committed Apr 24, 2014
1 parent 0d24106 commit fd4d7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sunstone/public/js/plugins/templates-tab.js
Expand Up @@ -2849,7 +2849,7 @@ function setup_storage_tab_content(storage_section) {
var number_of_disks = 0;

// close icon: removing the tab on click
$( "#storageTab i.remove-tab" ).live( "click", function() {
$(storage_section).on("click", "i.remove-tab", function() {
var target = $(this).parent().attr("href");
var dd = $(this).closest('dd');
var dl = $(this).closest('dl');
Expand Down Expand Up @@ -2898,7 +2898,7 @@ function setup_network_tab_content(network_section) {
var number_of_nics = 0;

// close icon: removing the tab on click
$( "#networkTab i.remove-tab" ).live( "click", function() {
$(network_section).on("click", "i.remove-tab", function() {
var target = $(this).parent().attr("href");
var dd = $(this).closest('dd');
var dl = $(this).closest('dl');
Expand Down

0 comments on commit fd4d7f0

Please sign in to comment.