You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eagle.apache.org by ji...@apache.org on 2016/10/14 03:28:24 UTC

incubator-eagle git commit: [EAGLE-617] Scrollbar is missing when install Map Reduce History Job Monitoring

Repository: incubator-eagle
Updated Branches:
  refs/heads/master 5e57c7bbc -> 0bca234ff


[EAGLE-617] Scrollbar is missing when install Map Reduce History Job Monitoring

add check logic in uiSrv. When dialog close, will check current existed dialog for body 'modal-open'

Author: zombieJ <sm...@gmail.com>

Closes #503 from zombieJ/EAGLE-617.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/0bca234f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/0bca234f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/0bca234f

Branch: refs/heads/master
Commit: 0bca234ff8d6b747a62853ff1f3028fc9ab1e4f9
Parents: 5e57c7b
Author: zombieJ <sm...@gmail.com>
Authored: Fri Oct 14 11:28:11 2016 +0800
Committer: zombieJ <sm...@gmail.com>
Committed: Fri Oct 14 11:28:11 2016 +0800

----------------------------------------------------------------------
 .../src/main/webapp/app/dev/public/js/services/uiSrv.js      | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/0bca234f/eagle-server/src/main/webapp/app/dev/public/js/services/uiSrv.js
----------------------------------------------------------------------
diff --git a/eagle-server/src/main/webapp/app/dev/public/js/services/uiSrv.js b/eagle-server/src/main/webapp/app/dev/public/js/services/uiSrv.js
index e0bb77d..6ce77b8 100644
--- a/eagle-server/src/main/webapp/app/dev/public/js/services/uiSrv.js
+++ b/eagle-server/src/main/webapp/app/dev/public/js/services/uiSrv.js
@@ -94,6 +94,10 @@
 					entity: _entity
 				});
 				$mdl.remove();
+
+				if ($(".modal-backdrop").length) {
+					$("body").addClass("modal-open");
+				}
 			});
 
 			// Function
@@ -225,6 +229,10 @@
 					name: name
 				});
 				$mdl.remove();
+
+				if ($(".modal-backdrop").length) {
+					$("body").addClass("modal-open");
+				}
 			});
 
 			// Function