feature #2746: Close drop downs on click

This commit is contained in:
Daniel Molina committed 2014-03-14 15:34:14 +01:00
1 parent e5f62be143
commit 79d2d02b41
2 files changed
+6 -1

No files matched your search

@@ -495,6 +495,7 @@ $(document).ready(function(){
setupUpdatePassword();
$(".user-zone-info a.configuration").click(function(){
$(document).foundation('dropdown', 'closeall');
fillUserInfo();
OpenNebula.Group.list(
+5 -1
View File
@@ -3644,6 +3644,8 @@ $(document).ready(function(){
value = $(this).attr('href');
}
$(document).foundation('dropdown', 'closeall');
var action = SunstoneCfg["actions"][value];
if (!action) {
notifyError("Action "+value+" not defined.");
@@ -3672,6 +3674,7 @@ $(document).ready(function(){
//Listen .confirm_buttons. These buttons show a confirmation dialog
//before running the action.
$('.confirm_button',main_tabs_context).live("click",function(){
$(document).foundation('dropdown', 'closeall');
popUpConfirmDialog(this);
return false;
});
@@ -3679,6 +3682,7 @@ $(document).ready(function(){
//Listen .confirm_buttons. These buttons show a confirmation dialog
//with a select box before running the action.
$('.confirm_with_select_button',main_tabs_context).live("click",function(){
$(document).foundation('dropdown', 'closeall');
popUpConfirmWithSelectDialog(this);
return false;
});
@@ -3732,7 +3736,7 @@ $(document).ready(function(){
$(document).foundation({
reveal : {
animation: 'fade',
animation_speed: 250
animation_speed: 150
}
})
});