@@ -115,8 +115,8 @@ window.eoxiaJS.digirisk.causerie.updateModalTitle = function( event, data ) {
115
115
if ( data && data . element ) {
116
116
var request_data = { } ;
117
117
request_data . action = 'causerie_save_former' ;
118
- request_data . id = jQuery ( this ) . closest ( 'tr ' ) . find ( 'input[name="causerie_id"]' ) . val ( ) ;
119
- request_data . user_id = jQuery ( this ) . closest ( 'tr ' ) . find ( 'input[name="former_id"]' ) . val ( ) ;
118
+ request_data . id = jQuery ( this ) . closest ( '.table-row ' ) . find ( 'input[name="causerie_id"]' ) . val ( ) ;
119
+ request_data . user_id = jQuery ( this ) . closest ( '.table-row ' ) . find ( 'input[name="former_id"]' ) . val ( ) ;
120
120
121
121
window . eoxiaJS . loader . display ( jQuery ( this ) ) ;
122
122
window . eoxiaJS . request . send ( jQuery ( this ) , request_data , function ( triggeredElement , response ) {
@@ -342,7 +342,7 @@ window.eoxiaJS.digirisk.causerie.checkParticipantsSignature = function() {
342
342
* @return {void }
343
343
*/
344
344
window . eoxiaJS . digirisk . causerie . savedSignature = function ( element , response ) {
345
- element . closest ( 'tr ' ) . replaceWith ( response . data . view ) ;
345
+ element . closest ( '.table-row ' ) . replaceWith ( response . data . view ) ;
346
346
347
347
window . eoxiaJS . digirisk . causerie . checkParticipantsSignature ( ) ;
348
348
@@ -365,7 +365,7 @@ window.eoxiaJS.digirisk.causerie.savedSignature = function( element, response )
365
365
* @return {void }
366
366
*/
367
367
window . eoxiaJS . digirisk . causerie . savedFormerSignature = function ( element , response ) {
368
- element . closest ( 'tr ' ) . find ( 'td .signature' ) . replaceWith ( response . data . view ) ;
368
+ element . closest ( '.table-row ' ) . find ( '.signature' ) . replaceWith ( response . data . view ) ;
369
369
370
370
// window.eoxiaJS.digirisk.causerie.refresh();
371
371
} ;
0 commit comments