File tree 4 files changed +7
-4
lines changed
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2649,7 +2649,7 @@ define([
2649
2649
this . hideOptionPreviewBox ( ) ;
2650
2650
$ ( VP_ID_PREFIX + VP_APIBLOCK_BOARD_OPTION_PREVIEW_BUTTON ) . removeClass ( 'enabled' ) ;
2651
2651
2652
- this . setNavigator ( BLOCK_CODELINE_TYPE . NONE , 'Visual Python 1.2.1 ' ) ;
2652
+ this . setNavigator ( BLOCK_CODELINE_TYPE . NONE , 'Visual Python 1.2.2 ' ) ;
2653
2653
this . setFocusedPageType ( FOCUSED_PAGE_TYPE . BOARD ) ;
2654
2654
$ ( '.vp-apiblock-option-tab-none' ) . css ( STR_DISPLAY , STR_BLOCK ) ;
2655
2655
}
Original file line number Diff line number Diff line change 120
120
id ='vp_apiblock_option_page '>
121
121
< div class ="vp-apiblock-option-navigator ">
122
122
< div class ="vp-apiblock-option-navigator-label ">
123
- < span class ="vp-orange-text "> Visual Python 1.2.1 </ span >
123
+ < span class ="vp-orange-text "> Visual Python 1.2.2 </ span >
124
124
</ div >
125
125
< div class ="vp-apiblock-option-new-to-save " title ="something modified... ">
126
126
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ define ([
48
48
* toolbar btn properties
49
49
*/
50
50
const TOOLBAR_BTN_INFO = {
51
- HELP : "Visual Python 1.2.1 "
51
+ HELP : "Visual Python 1.2.2 "
52
52
// , ICON: "fa-angellist"
53
53
, ICON : "vp-main-icon"
54
54
, ID : "vpBtnToggle"
Original file line number Diff line number Diff line change @@ -437,6 +437,9 @@ define([
437
437
page . appendFormatLine ( '<option value="{0}">{1}</option>' , '' , 'Select method type' ) ;
438
438
page . appendFormatLine ( '<option value="{0}">{1}</option>' , 'typing' , 'Typing' ) ;
439
439
this . methodList . forEach ( method => {
440
+ if ( method . value == '' ) {
441
+ return ;
442
+ }
440
443
page . appendFormatLine ( '<option value="{0}">{1}</option>' , method . value , method . label ) ;
441
444
} ) ;
442
445
page . appendLine ( '</select>' ) ;
@@ -1196,7 +1199,7 @@ define([
1196
1199
}
1197
1200
}
1198
1201
1199
- if ( method != '' ) {
1202
+ if ( method != '' || advanced ) {
1200
1203
// when using as_index option with Grouper, use .reset_index()
1201
1204
if ( useGrouper && resetIndex ) {
1202
1205
methodStr . append ( '.reset_index()' ) ;
You can’t perform that action at this time.
0 commit comments