Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-11-22 08:51:39 -0500
committerChristopher Frost2012-11-22 08:51:39 -0500
commit1c5f6333a7220fbc02b147f8d717dc3fa4cfd3a0 (patch)
tree53c538803a0d4cf089930993d63659e2c8f58c06 /org.eclipse.virgo.management.console
parent2d1e66d2959c27936ec6a28726c8fb2b4cc3d9ab (diff)
downloadorg.eclipse.virgo.kernel-1c5f6333a7220fbc02b147f8d717dc3fa4cfd3a0.tar.gz
org.eclipse.virgo.kernel-1c5f6333a7220fbc02b147f8d717dc3fa4cfd3a0.tar.xz
org.eclipse.virgo.kernel-1c5f6333a7220fbc02b147f8d717dc3fa4cfd3a0.zip
393656 - Need to stop the event propagating and reopening the box when closing it
Diffstat (limited to 'org.eclipse.virgo.management.console')
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/common.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
index 58020979..d9a7a5e9 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
@@ -383,7 +383,8 @@ var InfoBox = function(properties){
self.dialogBox.append(self.content);
if(properties.closeable){
- self.title.append($('<div />', {'class': 'box-title-close'}).append('x').click(function(){
+ self.title.append($('<div />', {'class': 'box-title-close'}).append('x').click(function(event){
+ event.stopPropagation();
self.hide();
}));
}

Back to the top