File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 url : createURL ( 'listNics' ) ,
9292 data : {
9393 virtualmachineid : instance . id ,
94- networkId : network . id
94+ networkid : ( args . context . networkid != undefined ) ? args . context . networkid : network . id
9595 } ,
9696 success : function ( json ) {
9797 var nic = json . listnicsresponse . nic [ 0 ] ;
24652465 networkid : $tierSelect . val ( ) ,
24662466 vpcid : args . context . vpc [ 0 ] . id
24672467 } ) ;
2468+ $ . extend ( args . context , {
2469+ networkid : $tierSelect . val ( ) ,
2470+ vpcid : args . context . vpc [ 0 ] . id
2471+ } ) ;
24682472 } else if ( 'networks' in args . context && ! args . context . ipAddresses [ 0 ] . isportable ) {
24692473 $ . extend ( data , {
24702474 networkid : args . context . networks [ 0 ] . id
Original file line number Diff line number Diff line change 9090 url : createURL ( 'listNics' ) ,
9191 data : {
9292 virtualmachineid : instance . id ,
93- nicId : instance . nic [ 0 ] . id
93+ networkId : network . id
9494 } ,
9595 success : function ( json ) {
9696 var nic = json . listnicsresponse . nic [ 0 ] ;
You can’t perform that action at this time.
0 commit comments