Changes

Jump to navigation Jump to search
m
no edit summary
Line 45: Line 45:  
textInput = [];
 
textInput = [];
    +
console.log( "why not " + result[orig] );
 
var extrafield = ( result[orig] != undefined ) ? Object.keys(result[orig]).length : 0;
 
var extrafield = ( result[orig] != undefined ) ? Object.keys(result[orig]).length : 0;
 +
console.log(extrafield);
    
button_save[ extrafield ] = new OO.ui.ButtonWidget( { label: "Save", classes: [ 'pddh' ] } );
 
button_save[ extrafield ] = new OO.ui.ButtonWidget( { label: "Save", classes: [ 'pddh' ] } );
 +
 
textInput[ extrafield ] = new OO.ui.TextInputWidget( {  
 
textInput[ extrafield ] = new OO.ui.TextInputWidget( {  
 
placeholder: plch,
 
placeholder: plch,
Line 58: Line 61:  
console.log( "textInput[ extrafield ].value" + textInput[ extrafield ].value );
 
console.log( "textInput[ extrafield ].value" + textInput[ extrafield ].value );
   −
idxb.EnqueuePDIO('update record', orig, extrafield, textInput[ extrafield ].$element.value )
+
idxb.EnqueuePDIO('update record', orig, extrafield, textInput[ extrafield ].value )
 
});
 
});
  
530

edits

Navigation menu