@@ -1302,12 +1302,12 @@ define([
1302
1302
var tab = content . addtype ;
1303
1303
if ( tab == 'value' ) {
1304
1304
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 ) ;
1306
1306
} else if ( tab == 'calculation' ) {
1307
1307
var { var1col, oper, var2col } = content ;
1308
1308
var var1code = tempObj + "['" + var1col + "']" ;
1309
1309
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 ) ;
1311
1311
} else if ( tab == 'replace' ) {
1312
1312
var replaceStr = new com_String ( ) ;
1313
1313
var useRegex = content [ 'useregex' ] ;
@@ -1325,7 +1325,7 @@ define([
1325
1325
if ( selectedName && selectedName != '' ) {
1326
1326
selectedName = '[[' + selectedName + ']]' ;
1327
1327
}
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 ) ;
1329
1329
if ( useRegex ) {
1330
1330
code . append ( ', regex=True' ) ;
1331
1331
}
@@ -1334,7 +1334,7 @@ define([
1334
1334
var value = com_util . convertToStr ( content . value , content . valueastext ) ;
1335
1335
code . appendFormat ( "{0} = {1}" , content . subset , value ) ;
1336
1336
} 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 ) ;
1338
1338
}
1339
1339
break ;
1340
1340
case FRAME_EDIT_TYPE . ADD_ROW :
0 commit comments