File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 < input type ="text " id ="vp_pfPath " class ="vp-input vp-sv-input " placeholder ="SWEETVIZ_REPORT.html ">
2828 < div class ="vp-file-browser-button " id ="vp_pfPathButton " data-parent ="vp_pfPath "> </ div >
2929 </ div >
30- < label for ="vp_pfOpenBrowser "> Open browser</ label >
31- < label > < input type ="checkbox " id ="vp_pfOpenBrowser " class ="vp-input vp-sv-input " checked > < span > </ span > </ label >
30+ <!-- < label for="vp_pfOpenBrowser">Open browser</label>
31+ <label><input type="checkbox" id="vp_pfOpenBrowser" class="vp-input vp-sv-input" checked><span></span></label> -->
3232 < label for ="vp_pfTitle "> Report Title</ label >
3333 < div >
3434 < input type ="text " id ="vp_pfTitle " class ="vp-input vp-sv-input " placeholder ="Title name ">
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ define([
100100 }
101101 var title = $ ( that . wrapSelector ( '#vp_pfTitle' ) ) . val ( ) ;
102102 var filePath = $ ( that . wrapSelector ( '#vp_pfPath' ) ) . val ( ) ;
103- var openBrowser = $ ( that . wrapSelector ( '#vp_pfOpenBrowser' ) ) . prop ( 'checked' ) ;
103+ // var openBrowser = $(that.wrapSelector('#vp_pfOpenBrowser')).prop('checked');
104104 var code = new com_String ( ) ;
105105 switch ( parseInt ( type ) ) {
106106 case PROFILE_TYPE . GENERATE :
@@ -110,14 +110,14 @@ define([
110110 } else {
111111 code . appendFormatLine ( "{0} = sweetviz.analyze({1})" , saveas , df ) ;
112112 }
113- // show html
114- code . appendFormat ( "{0}.show_html (" , saveas ) ;
113+ // show notebook
114+ code . appendFormat ( "{0}.show_notebook (" , saveas ) ;
115115 if ( filePath && filePath != '' ) {
116116 code . appendFormat ( "filepath='{0}'" , filePath ) ;
117117 }
118- if ( openBrowser === false ) {
119- code . append ( ", open_browser=False" ) ;
120- }
118+ // if (openBrowser === false) {
119+ // code.append(", open_browser=False");
120+ // }
121121 code . appendLine ( ')' ) ;
122122 code . append ( saveas ) ;
123123 break ;
You can’t perform that action at this time.
0 commit comments