'+
+ '
' +
''+tr("Please select files from the list")+' '+
''+tr("You selected the following files:")+' '+
'
'+
@@ -2895,8 +2895,8 @@ function add_contextTab(dialog) {
- $("#refresh_context_table", dialog).die();
- $("#refresh_context_table", dialog).live('click', function(){
+ $("#refresh_context_table", $('#contextTab')).die();
+ $("#refresh_context_table", $('#contextTab')).live('click', function(){
update_datatable_template_files(datTable_template_context)
});
@@ -2948,8 +2948,8 @@ function add_contextTab(dialog) {
return true;
});
- $( "span.fa fa-times", $("#selected_files_spans") ).die()
- $( "span.fa fa-times", $("#selected_files_spans") ).live( "click", function() {
+ $( "span.fa.fa-times", $("#selected_files_spans") ).die()
+ $( "span.fa.fa-times", $("#selected_files_spans") ).live( "click", function() {
$(this).parent().remove();
var file_id = $(this).parent().attr("image_id");
@@ -3163,8 +3163,8 @@ function add_schedulingTab(dialog) {
]
});
- $("#refresh_hosts_placement", dialog).die();
- $("#refresh_hosts_placement", dialog).live('click', function(){
+ $("#refresh_hosts_placement", $("#placementTab")).die();
+ $("#refresh_hosts_placement", $("#placementTab")).live('click', function(){
update_datatable_template_hosts(dataTable_template_hosts)
});
@@ -3215,7 +3215,7 @@ function add_schedulingTab(dialog) {
return true;
});
- $("span.fa fa-times", $('div#selected_hosts_template', dialog)).live( "click", function() {
+ $("span.fa.fa-times", $('div#selected_hosts_template', dialog)).live( "click", function() {
$(this).parent().remove();
var id = $(this).parent().attr("ID");
@@ -3243,8 +3243,8 @@ function add_schedulingTab(dialog) {
]
});
- $("#refresh_clusters_placement", dialog).die();
- $("#refresh_clusters_placement", dialog).live('click', function(){
+ $("#refresh_clusters_placement", $("#placementTab")).die();
+ $("#refresh_clusters_placement", $("#placementTab")).live('click', function(){
update_datatable_template_clusters(dataTable_template_clusters);
});
@@ -3299,7 +3299,7 @@ function add_schedulingTab(dialog) {
return true;
});
- $( "#selected_clusters_template span.fa fa-times" , dialog).live( "click", function() {
+ $( "#selected_clusters_template span.fa.fa-times" , dialog).live( "click", function() {
$(this).parent().remove();
var id = $(this).parent().attr("ID");