Changes

Jump to navigation Jump to search
m
no edit summary
Line 52: Line 52:  
classes: [ 'pddh' ]
 
classes: [ 'pddh' ]
 
} );
 
} );
button_save[ extrafield ].onClick = function () {
+
 
 +
button_save[ extrafield ].on( 'click', function () {
 
console.log( "this is happening " + orig + ' ' + extrafield);
 
console.log( "this is happening " + orig + ' ' + extrafield);
 
idxb.EnqueuePDIO('update record', orig, extrafield, 'holdplace')
 
idxb.EnqueuePDIO('update record', orig, extrafield, 'holdplace')
}
+
};
 +
 
$( '#mw-content-text' ).prepend( textInput[ extrafield ].$element );
 
$( '#mw-content-text' ).prepend( textInput[ extrafield ].$element );
 
$( '#mw-content-text' ).prepend( '<br>' );
 
$( '#mw-content-text' ).prepend( '<br>' );
Line 72: Line 74:  
classes: [ 'pddh' ]
 
classes: [ 'pddh' ]
 
} );
 
} );
button_save[data].onClick = function () {
+
button_save[data].on( 'click', function () {
 
idxb.EnqueuePDIO('update record', orig, data, 'holdplace')
 
idxb.EnqueuePDIO('update record', orig, data, 'holdplace')
 
}
 
}
530

edits

Navigation menu