@@ -245,8 +245,8 @@ define([
245
245
var prefix = '#vp_file' + pageType + ' ' ;
246
246
247
247
// clear
248
- $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table' ) ) . html ( '<colgroup><col width="40%"/><col width="*"/></colgroup> ' ) ;
249
- $ ( this . wrapSelector ( prefix + '#vp_optionBox table' ) ) . html ( '<colgroup><col width="40%"/><col width="*"/></colgroup> ' ) ;
248
+ $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table tbody ' ) ) . html ( '' ) ;
249
+ $ ( this . wrapSelector ( prefix + '#vp_optionBox table tbody ' ) ) . html ( '' ) ;
250
250
251
251
var fileTypeObj = this . fileState [ pageType ] [ 'fileTypeId' ] ;
252
252
var selectedType = this . fileState [ pageType ] [ 'selectedType' ] ;
@@ -273,7 +273,7 @@ define([
273
273
pdGen . vp_showInterfaceOnPage ( this . wrapSelector ( '#vp_file' + pageType ) , thisPkg ) ;
274
274
275
275
// prepend file type selector
276
- $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table' ) ) . prepend (
276
+ $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table tbody ' ) ) . prepend (
277
277
$ ( '<tr>' ) . append ( $ ( `<td><label for="fileType" class="vp-orange-text">File Type</label></td>` ) )
278
278
. append ( $ ( '<td><select id="fileType" class="vp-select"></select></td>' ) )
279
279
) ;
@@ -292,7 +292,7 @@ define([
292
292
. append ( $ ( '<td><input id="userOption" type="text" class="vp-input vp-state" placeholder="key=value, ..."/></td>' ) )
293
293
)
294
294
} else {
295
- $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table' ) ) . append (
295
+ $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table tbody ' ) ) . append (
296
296
$ ( '<tr>' ) . append ( $ ( `<td><label for="userOption">User Option</label></td>` ) )
297
297
. append ( $ ( '<td><input id="userOption" type="text" class="vp-input vp-state" placeholder="key=value, ..."/></td>' ) )
298
298
)
0 commit comments