File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 $dashboard . find ( '#update_ssl_button' ) . click ( function ( ) {
5555 cloudStack . dialog . createForm ( {
5656 form : {
57- title : 'label.update.ssl' ,
57+ title : 'label.update.ssl' ,
58+ desc : 'message.update.ssl' ,
5859 fields : {
59- certificate : { label : 'label.certificate' } ,
60- privatekey : { label : 'label.privatekey' } ,
60+ certificate : { label : 'label.certificate' , isTextarea : true } ,
61+ privatekey : { label : 'label.privatekey' , isTextarea : true } ,
6162 domainsuffix : { label : 'label.domain.suffix' }
6263 }
6364 } ,
Original file line number Diff line number Diff line change 242242 }
243243 }
244244 } ) ;
245+ } else if ( field . isTextarea ) {
246+ $input = $ ( '<textarea>' ) . attr ( {
247+ name : key
248+ } ) . appendTo ( $value ) ;
249+
250+ if ( field . defaultValue ) {
251+ $input . val ( field . defaultValue ) ;
252+ }
245253 } else {
246254 // Text field
247255 if ( field . range ) {
You can’t perform that action at this time.
0 commit comments