Revision de536a85

View differences:

src/sunstone/public/js/plugins/templates-tab.js
4058 4058
    var dialog = $instantiate_vm_template_dialog;
4059 4059
    dialog.html(instantiate_vm_template_tmpl);
4060 4060

  
4061

  
4062 4061
    dialog.addClass("reveal-modal");
4063 4062

  
4064 4063
    setupTips(dialog);
......
4068 4067
        var n_times = $('#vm_n_times',this).val();
4069 4068
        var n_times_int=1;
4070 4069

  
4070
        var selected_nodes = getSelectedNodes(dataTable_templates);
4071
        var template_id    = ""+selected_nodes[0];
4072

  
4071 4073
        if (n_times.length){
4072 4074
            n_times_int=parseInt(n_times,10);
4073 4075
        };

Also available in: Unified diff