File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 114114 if ( data . zones ) {
115115 $ . ajax ( {
116116 url : createURL ( 'listCapacity' ) ,
117+ data : {
118+ zoneid : data . zones [ 0 ] . id // Temporary hack to keep dashboard working
119+ } ,
117120 success : function ( json ) {
118121 var capacities = json . listcapacityresponse . capacity ;
119122
Original file line number Diff line number Diff line change 2929 success : function ( json ) {
3030 dataFns . podCount ( $ . extend ( data , {
3131 zoneCount : json . listzonesresponse . count ?
32- json . listzonesresponse . count : 0
32+ json . listzonesresponse . count : 0 ,
33+ zones : json . listzonesresponse . zone
3334 } ) ) ;
3435 }
3536 } ) ;
7879 if ( data . zoneCount ) {
7980 $ . ajax ( {
8081 url : createURL ( 'listCapacity' ) ,
82+ data : {
83+ zoneid : data . zones [ 0 ] . id // Temporary hack to keep dashboard working
84+ } ,
8185 success : function ( json ) {
8286 var capacities = json . listcapacityresponse . capacity ;
8387
You can’t perform that action at this time.
0 commit comments