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

Fix flow template creation wizard

This commit is contained in:
Carlos Martín 2014-04-25 16:58:23 +02:00
parent 4fdde5286f
commit 35d3c72b05

View File

@ -1045,7 +1045,7 @@ function setupCreateServiceTemplateDialog(){
}
// close icon: removing the tab on click
$( "#roles_tabs i.remove-tab" ).live( "click", function() {
$("#roles_tabs").on("click", "i.remove-tab", function() {
var target = $(this).parent().attr("href");
var dd = $(this).closest('dd');
var dl = $(this).closest('dl');
@ -1064,7 +1064,7 @@ function setupCreateServiceTemplateDialog(){
// Each time a tab is clicked the table is filled with existing tabs (roles)
// Selected roles are kept
// TODO If the name of a role is changed and is selected, selection will be lost
$("#roles_tabs a").live('click', function(){
$("#roles_tabs").on("click", "a", function() {
var tab_id = "#"+this.id+"Tab";
var str = "";