File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11501150 id : { label : 'label.id' }
11511151 }
11521152 ] ,
1153+
1154+ tags : cloudStack . api . tags ( { resourceType : 'UserVm' , contextId : 'instances' } ) ,
11531155
11541156 dataProvider : function ( args ) {
11551157 $ . ajax ( {
Original file line number Diff line number Diff line change 757757 account : { label : 'label.account' }
758758 }
759759 ] ,
760+
761+ tags : cloudStack . api . tags ( { resourceType : 'Network' , contextId : 'networks' } ) ,
762+
763+
760764 dataProvider : function ( args ) {
761765 $ . ajax ( {
762766 url : createURL ( "listNetworks&id=" + args . context . networks [ 0 ] . id + "&listAll=true" ) , //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed.
14721476 vlanname : { label : 'label.vlan' }
14731477 }
14741478 ] ,
1479+
1480+ tags : cloudStack . api . tags ( { resourceType : 'PublicIpAddress' , contextId : 'ipAddresses' } ) ,
14751481
14761482 dataProvider : function ( args ) {
14771483 var items = args . context . ipAddresses ;
27822788 }
27832789 ] ,
27842790
2791+ tags : cloudStack . api . tags ( { resourceType : 'SecurityGroup' , contextId : 'securityGroups' } ) ,
2792+
2793+
27852794 dataProvider : function ( args ) {
27862795 $ . ajax ( {
27872796 url : createURL ( "listSecurityGroups&id=" + args . id ) ,
Original file line number Diff line number Diff line change 10041004 }
10051005 ] ,
10061006
1007+ tags : cloudStack . api . tags ( { resourceType : 'Volume' , contextId : 'volumes' } ) ,
1008+
1009+
10071010 dataProvider : function ( args ) {
10081011 $ . ajax ( {
10091012 url : createURL ( "listVolumes&id=" + args . context . volumes [ 0 ] . id ) ,
12691272 }
12701273 ] ,
12711274
1275+ tags : cloudStack . api . tags ( { resourceType : 'Snapshot' , contextId : 'snapshots' } ) ,
1276+
12721277 dataProvider : function ( args ) {
12731278 $ . ajax ( {
12741279 url : createURL ( "listSnapshots&id=" + args . context . snapshots [ 0 ] . id ) ,
Original file line number Diff line number Diff line change 678678 account : { label : 'label.account' } ,
679679 created : { label : 'label.created' , converter : cloudStack . converters . toLocalDate }
680680 }
681- ] ,
681+ ] ,
682+
683+ tags : cloudStack . api . tags ( { resourceType : 'Template' , contextId : 'templates' } ) ,
684+
682685
683- dataProvider : function ( args ) {
686+ dataProvider : function ( args ) {
684687 var jsonObj = args . context . templates [ 0 ] ;
685688 var apiCmd = "listTemplates&templatefilter=self&id=" + jsonObj . id ;
686689 if ( jsonObj . zoneid != null )
822825 }
823826 }
824827 } ,
828+
825829
826830 action : function ( args ) {
827831 var array1 = [ ] ;
11921196 created : { label : 'label.created' , converter : cloudStack . converters . toLocalDate }
11931197 }
11941198 ] ,
1199+
1200+ tags : cloudStack . api . tags ( { resourceType : 'ISO' , contextId : 'isos' } ) ,
11951201
1196- dataProvider : function ( args ) {
1202+ dataProvider : function ( args ) {
11971203 var jsonObj = args . context . isos [ 0 ] ;
11981204 var apiCmd = "listIsos&isofilter=self&id=" + jsonObj . id ;
11991205 if ( jsonObj . zoneid != null )
You can’t perform that action at this time.
0 commit comments