bug #2905: Fix setupTips in firefox 29

(cherry picked from commit a518f078ed)
This commit is contained in:
Daniel Molina committed 2014-05-12 17:30:37 +02:00
1 parent 89a462e41f
commit da9dac9aa1
2 files changed
+5 -9

No files matched your search

@@ -3612,13 +3612,9 @@ function initialize_create_template_dialog(dialog) {
setup_other_tab_content(tab);
}
// Re-Setup tips
setupTips(dialog);
$(document).foundation();
dialog.foundation();
// Add first disk and network
setupTips(dialog);
$("#tf_btn_disks", dialog).trigger("click");
$("#tf_btn_nics", dialog).trigger("click");
@@ -3869,7 +3865,7 @@ function popUpCreateTemplateDialog(){
$('#wizard_mode', $create_template_dialog).show();
$create_template_dialog.foundation().foundation('reveal', 'open');
$create_template_dialog.foundation('reveal', 'open');
$("input#NAME",$create_template_dialog).focus();
+2 -2
View File
@@ -1702,9 +1702,9 @@ function setupTips(context, position){
}
//replace the text with an icon and spans
obj.html('<span data-tooltip class="'+tip_classes.join(' ')+'" data-width="210" title="'+tip+'"><i class="fa fa-question-circle"></i></span>');
obj.foundation();
});
context.foundation();
}
//returns an array of ids of selected elements in a dataTable
@@ -3591,7 +3591,7 @@ function hideDialog(){
function popDialog(content, context){
$(".right-info", context).html(content);
$(document).foundation();
context.foundation();
//innerLayout.open("south");
}