@@ -1302,12 +1302,12 @@ define([
13021302 var tab = content . addtype ;
13031303 if ( tab == 'value' ) {
13041304 var value = com_util . convertToStr ( content . value , content . valueastext ) ;
1305- code . appendFormat ( "{0}[[ {1}] ] = {2}" , tempObj , name , value ) ;
1305+ code . appendFormat ( "{0}[{1}] = {2}" , tempObj , name , value ) ;
13061306 } else if ( tab == 'calculation' ) {
13071307 var { var1col, oper, var2col } = content ;
13081308 var var1code = tempObj + "['" + var1col + "']" ;
13091309 var var2code = tempObj + "['" + var2col + "']" ;
1310- code . appendFormat ( '{0}[[ {1}] ] = {2} {3} {4}' , tempObj , name , var1code , oper , var2code ) ;
1310+ code . appendFormat ( '{0}[{1}] = {2} {3} {4}' , tempObj , name , var1code , oper , var2code ) ;
13111311 } else if ( tab == 'replace' ) {
13121312 var replaceStr = new com_String ( ) ;
13131313 var useRegex = content [ 'useregex' ] ;
@@ -1325,7 +1325,7 @@ define([
13251325 if ( selectedName && selectedName != '' ) {
13261326 selectedName = '[[' + selectedName + ']]' ;
13271327 }
1328- code . appendFormat ( "{0}[[ {1}] ] = {2}{3}.replace({{4}}" , tempObj , name , tempObj , selectedName , replaceStr ) ;
1328+ code . appendFormat ( "{0}[{1}] = {2}{3}.replace({{4}}" , tempObj , name , tempObj , selectedName , replaceStr ) ;
13291329 if ( useRegex ) {
13301330 code . append ( ', regex=True' ) ;
13311331 }
@@ -1334,7 +1334,7 @@ define([
13341334 var value = com_util . convertToStr ( content . value , content . valueastext ) ;
13351335 code . appendFormat ( "{0} = {1}" , content . subset , value ) ;
13361336 } else if ( tab == 'apply' ) {
1337- code . appendFormat ( "{0}[[ {1}] ] = {2}[{3}].apply({4})" , tempObj , name , tempObj , content . column , content . apply ) ;
1337+ code . appendFormat ( "{0}[{1}] = {2}[{3}].apply({4})" , tempObj , name , tempObj , content . column , content . apply ) ;
13381338 }
13391339 break ;
13401340 case FRAME_EDIT_TYPE . ADD_ROW :
0 commit comments