Plugin Directory

Changeset 2090632


Ignore:
Timestamp:
05/19/2019 12:36:25 AM (7 years ago)
Author:
heduluna
Message:
  • Survey answer JS bug fix
Location:
fogata-bots/tags
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fogata-bots/tags/1.2/includes/assets/js/fogata-chat.js

    r2044042 r2090632  
    8585    var fogval2 = $(this).data('id');
    8686    var fogval3 = $(this).data('key');
    87 
    8887    sendFogataMsg(fogval,2,fogval2,fogval3);
     88  })
     89
     90  $(document).on('click', '.fogata-encuesta-callback', function(){
     91    fogval = $(this).html();
     92    fogval2 = $(this).data('id');
     93    sendFogataMsg(fogval,1,fogval2,0);
    8994  })
    9095
  • fogata-bots/tags/1.3/includes/assets/js/fogata-chat.js

    r2090631 r2090632  
    8585    var fogval2 = $(this).data('id');
    8686    var fogval3 = $(this).data('key');
    87 
    8887    sendFogataMsg(fogval,2,fogval2,fogval3);
     88  })
     89
     90  $(document).on('click', '.fogata-encuesta-callback', function(){
     91    fogval = $(this).html();
     92    fogval2 = $(this).data('id');
     93    sendFogataMsg(fogval,1,fogval2,0);
    8994  })
    9095
Note: See TracChangeset for help on using the changeset viewer.