File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 193193 </div >
194194 </div >
195195 <!-- General Alerts-->
196- <div class =" grid_container" style =" width : 49% ; margin-top : 15px ;" >
196+ <div class =" grid_container" id = " general_alerts " style =" width : 49% ; margin-top : 15px ;" >
197197 <div class =" grid_header" >
198198 <div class =" grid_header_cell" style =" width : 60% ; border : none ;" >
199199 <div class =" grid_header_title" >
200200 General Alerts</div >
201201 </div >
202202 <div class =" grid_header_cell" style =" width : 40% ; border : none ;" >
203203 <div class =" grid_header_formbox" >
204- <div class =" gridheader_morebutt" >
204+ <div class =" gridheader_morebutt" id = " more_icon " >
205205 </div >
206206 </div >
207207 </div >
213213 </div >
214214 </div >
215215 <!-- Hosts Alerts-->
216- <div class =" grid_container" style =" width : 48% ; margin-top : 15px ; float : right ;" >
216+ <div class =" grid_container" id = " hosts_alerts " style =" width : 48% ; margin-top : 15px ; float : right ;" >
217217 <div class =" grid_header" >
218218 <div class =" grid_header_cell" style =" width : 60% ; border : none ;" >
219219 <div class =" grid_header_title" >
220220 Hosts Alerts</div >
221221 </div >
222222 <div class =" grid_header_cell" style =" width : 40% ; border : none ;" >
223223 <div class =" grid_header_formbox" >
224- <div class =" gridheader_morebutt" >
224+ <div class =" gridheader_morebutt" id = " more_icon " >
225225 </div >
226226 </div >
227227 </div >
Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ function afterLoadDashboardJSP() {
181181 } ) ;
182182 } ) ;
183183 $thisTab . find ( "#capacity_zone_select" ) . change ( ) ;
184-
184+
185+ // General Alerts
185186 $ . ajax ( {
186187 data : createURL ( "command=listAlerts" ) ,
187188 dataType : "json" ,
@@ -200,6 +201,12 @@ function afterLoadDashboardJSP() {
200201 }
201202 }
202203 } ) ;
204+
205+ $ ( "#general_alerts" ) . find ( "#more_icon" ) . unbind ( "click" ) . bind ( "click" , function ( event ) {
206+ $ ( "#leftmenu_events" ) . click ( ) ;
207+ $ ( "#leftmenu_alert" ) . click ( ) ;
208+ return false ;
209+ } ) ;
203210
204211 // Hosts Alerts
205212 $ . ajax ( {
You can’t perform that action at this time.
0 commit comments