diff --git a/ui/new/jsp/alert.jsp b/ui/new/jsp/alert.jsp
index 68409619074..e5aa8da37fa 100644
--- a/ui/new/jsp/alert.jsp
+++ b/ui/new/jsp/alert.jsp
@@ -22,38 +22,40 @@
-
-
-
-
-
- <%=t.t("Description")%>:
-
-
-
-
-
+
+
+
+
+
+
+
+ <%=t.t("Description")%>:
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/new/jsp/event.jsp b/ui/new/jsp/event.jsp
index 5ab3dc3f466..efe330fb409 100644
--- a/ui/new/jsp/event.jsp
+++ b/ui/new/jsp/event.jsp
@@ -22,88 +22,90 @@
-
-
-
-
-
- <%=t.t("Initiated.By")%>:
-
-
-
-
-
-
- <%=t.t("Owner.Account")%>:
-
-
-
-
-
-
-
-
- <%=t.t("Description")%>:
-
-
-
-
-
-
+
+
+
+
+
+
+
+ <%=t.t("Initiated.By")%>:
+
+
+
+
+
+
+ <%=t.t("Owner.Account")%>:
+
+
+
+
+
+
+
+
+ <%=t.t("Description")%>:
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/new/scripts/cloud.core2.alert.js b/ui/new/scripts/cloud.core2.alert.js
index 0b497b3e7f9..caaf0eb1173 100644
--- a/ui/new/scripts/cloud.core2.alert.js
+++ b/ui/new/scripts/cloud.core2.alert.js
@@ -11,9 +11,14 @@ function alertToMidmenu(jsonObj, $midmenuItem1) {
function alertToRigntPanel($midmenuItem) {
var jsonObj = $midmenuItem.data("jsonObj");
-
- var $rightPanelContent = $("#right_panel_content");
- $rightPanelContent.find("#type").text(jsonObj.type);
- $rightPanelContent.find("#description").text(jsonObj.description);
- setDateField(jsonObj.sent, $rightPanelContent.find("#sent"));
+ alertJsonToDetailsTab(jsonObj);
+}
+
+function alertJsonToDetailsTab(jsonObj) {
+ var $detailsTab = $("#right_panel_content #tab_content_details");
+ $detailsTab.data("jsonObj", jsonObj);
+
+ $detailsTab.find("#type").text(jsonObj.type);
+ $detailsTab.find("#description").text(jsonObj.description);
+ setDateField(jsonObj.sent, $detailsTab.find("#sent"));
}
\ No newline at end of file
diff --git a/ui/new/scripts/cloud.core2.event.js b/ui/new/scripts/cloud.core2.event.js
index 93403044962..9efff3dc843 100644
--- a/ui/new/scripts/cloud.core2.event.js
+++ b/ui/new/scripts/cloud.core2.event.js
@@ -20,14 +20,19 @@ function eventToMidmenu(jsonObj, $midmenuItem1) {
function eventToRigntPanel($midmenuItem) {
var jsonObj = $midmenuItem.data("jsonObj");
-
- var $rightPanelContent = $("#right_panel_content");
- $rightPanelContent.find("#id").text(fromdb(jsonObj.id));
- $rightPanelContent.find("#username").text(fromdb(jsonObj.username));
- $rightPanelContent.find("#account").text(fromdb(jsonObj.account));
- $rightPanelContent.find("#type").text(jsonObj.type);
- $rightPanelContent.find("#level").text(jsonObj.level);
- $rightPanelContent.find("#description").text(fromdb(jsonObj.description));
- $rightPanelContent.find("#state").text(jsonObj.state);
- setDateField(jsonObj.created, $rightPanelContent.find("#created"));
+ eventJsonToDetailsTab(jsonObj);
+}
+
+function eventJsonToDetailsTab(jsonObj) {
+ var $detailsTab = $("#right_panel_content #tab_content_details");
+ $detailsTab.data("jsonObj", jsonObj);
+
+ $detailsTab.find("#id").text(fromdb(jsonObj.id));
+ $detailsTab.find("#username").text(fromdb(jsonObj.username));
+ $detailsTab.find("#account").text(fromdb(jsonObj.account));
+ $detailsTab.find("#type").text(jsonObj.type);
+ $detailsTab.find("#level").text(jsonObj.level);
+ $detailsTab.find("#description").text(fromdb(jsonObj.description));
+ $detailsTab.find("#state").text(jsonObj.state);
+ setDateField(jsonObj.created, $detailsTab.find("#created"));
}
\ No newline at end of file