You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2018/09/11 13:16:23 UTC

[cloudstack] branch master updated: Fix Overlay issue in snapshot view (#2835)

This is an automated email from the ASF dual-hosted git repository.

rafael pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new b11d63f  Fix Overlay issue in snapshot view (#2835)
b11d63f is described below

commit b11d63f28b915323483eb7ad88d95869f26c0b3d
Author: Rafael Weingärtner <ra...@gmail.com>
AuthorDate: Tue Sep 11 10:16:04 2018 -0300

    Fix Overlay issue in snapshot view (#2835)
    
    Fix UI overlay issue in snapshot view on master with new jquery and other changes. This problem was created because of the jQuery-UI upgrade.
    
    This fixes: #2830
---
 ui/scripts/ui-custom/recurringSnapshots.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/scripts/ui-custom/recurringSnapshots.js b/ui/scripts/ui-custom/recurringSnapshots.js
index c32aa99..a230928 100644
--- a/ui/scripts/ui-custom/recurringSnapshots.js
+++ b/ui/scripts/ui-custom/recurringSnapshots.js
@@ -207,9 +207,9 @@
                         });
                     }
                 }]
-            }).closest('.ui-dialog').overlay();
+            });
 
-            return $dialog;
+            return cloudStack.applyDefaultZindexAndOverlayOnJqueryDialogAndRemoveCloseButton($dialog);
         };
     };
 }(cloudStack, jQuery));