mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2905: Fix setupTips in firefox 29
(cherry picked from commit a518f078edc35a5e993c18b31bd01dafbd4435ff)
This commit is contained in:
parent
89a462e41f
commit
da9dac9aa1
@ -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();
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user