You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2019/12/27 14:58:22 UTC

[sling-org-apache-sling-app-cms] 01/02: Fixes part of SLING-8953 - fixing issue where the loader doesn't close when closing search from a pathfield

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

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git

commit d035a8d00bfac9913371f209998a8bd49891d907
Author: Dan Klco <dk...@apache.org>
AuthorDate: Thu Dec 26 22:47:43 2019 -0500

    Fixes part of SLING-8953 - fixing issue where the loader doesn't close when closing search from a pathfield
---
 ui/src/main/frontend/js/cms.modal.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/main/frontend/js/cms.modal.js b/ui/src/main/frontend/js/cms.modal.js
index 4752b60..987f846 100644
--- a/ui/src/main/frontend/js/cms.modal.js
+++ b/ui/src/main/frontend/js/cms.modal.js
@@ -49,6 +49,7 @@ rava.bind('a.Fetch-Modal', {
           title,
         }, window.location.origin);
         button.removeAttribute('disabled');
+        modal.remove();
       } else {
         loadModal();
       }