File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 297297 dependsOn : 'hypervisor' ,
298298 isHidden : true
299299 } ,
300+ checksum : {
301+ label : 'label.checksum' ,
302+ dependsOn : 'directdownload' ,
303+ isHidden : true
304+ } ,
300305 // Direct Download - End
301306
302307 xenserverToolsVersion61plus : {
656661
657662 if ( args . $form . find ( '.form-item[rel=directdownload]' ) . css ( "display" ) != "none" && args . data . directdownload != "" ) {
658663 $ . extend ( data , {
659- 'directdownload' : ( args . data . directdownload == "on" ) ? "true" : "false"
664+ 'directdownload' : ( args . data . directdownload == "on" ) ? "true" : "false" ,
665+ 'checksum' : args . data . checksum
660666 } ) ;
661667 }
662668 // KVM only (ends here)
21332139 docID : 'helpRegisterTemplateDirectDownload' ,
21342140 isBoolean : true
21352141 } ,
2142+ checksum : {
2143+ label : 'label.checksum' ,
2144+ dependsOn : 'directdownload' ,
2145+ isHidden : true
2146+ } ,
21362147 // Direct Download - End
21372148 zone : {
21382149 label : 'label.zone' ,
22632274 isfeatured : ( args . data . isFeatured == "on" )
22642275 } ) ;
22652276 }
2277+ if ( args . $form . find ( '.form-item[rel=checksum]' ) . css ( "display" ) != "none" ) {
2278+ $ . extend ( data , {
2279+ checksum : args . data . checksum
2280+ } ) ;
2281+ }
22662282
22672283 $ . ajax ( {
22682284 url : createURL ( 'registerIso' ) ,
You can’t perform that action at this time.
0 commit comments