Changes

Jump to navigation Jump to search
m
no edit summary
Line 131: Line 131:  
if ( sqitch === "update record" ) { // Record Update
 
if ( sqitch === "update record" ) { // Record Update
 
if ( control_1 != undefined ) {
 
if ( control_1 != undefined ) {
inp_obj[ control_1 ] = inp_obj[ control_1 ] || (isNaN( control_2 )) ? {} : [];
   
if ( control_2 != undefined ) {
 
if ( control_2 != undefined ) {
inp_obj[ control_1 ][ control_2 ] = inp_obj[ control_1 ][ control_2 ] || [];
+
inp_obj[ control_1 ] = inp_obj[ control_1 ] || (isNaN( control_2 )) ? {} : [];
 
if ( control_3 != undefined ) {
 
if ( control_3 != undefined ) {
 +
inp_obj[ control_1 ][ control_2 ] = inp_obj[ control_1 ][ control_2 ] || [];
 
if ( Array.isArray( inp_obj[ control_1 ][ control_2 ] ) ) {
 
if ( Array.isArray( inp_obj[ control_1 ][ control_2 ] ) ) {
 
inp_obj[ control_1 ][ control_2 ].push( control_3 );
 
inp_obj[ control_1 ][ control_2 ].push( control_3 );
530

edits

Navigation menu