@@ -245,8 +245,8 @@ define([
245245 var prefix = '#vp_file' + pageType + ' ' ;
246246
247247 // 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 ( '' ) ;
250250
251251 var fileTypeObj = this . fileState [ pageType ] [ 'fileTypeId' ] ;
252252 var selectedType = this . fileState [ pageType ] [ 'selectedType' ] ;
@@ -273,7 +273,7 @@ define([
273273 pdGen . vp_showInterfaceOnPage ( this . wrapSelector ( '#vp_file' + pageType ) , thisPkg ) ;
274274
275275 // prepend file type selector
276- $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table' ) ) . prepend (
276+ $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table tbody ' ) ) . prepend (
277277 $ ( '<tr>' ) . append ( $ ( `<td><label for="fileType" class="vp-orange-text">File Type</label></td>` ) )
278278 . append ( $ ( '<td><select id="fileType" class="vp-select"></select></td>' ) )
279279 ) ;
@@ -292,7 +292,7 @@ define([
292292 . append ( $ ( '<td><input id="userOption" type="text" class="vp-input vp-state" placeholder="key=value, ..."/></td>' ) )
293293 )
294294 } else {
295- $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table' ) ) . append (
295+ $ ( this . wrapSelector ( prefix + '#vp_inputOutputBox table tbody ' ) ) . append (
296296 $ ( '<tr>' ) . append ( $ ( `<td><label for="userOption">User Option</label></td>` ) )
297297 . append ( $ ( '<td><input id="userOption" type="text" class="vp-input vp-state" placeholder="key=value, ..."/></td>' ) )
298298 )
0 commit comments