Table action without modal window
  • Hi!
    I added a couple of table actions to an embedded list that performs a reordering on the selected items (up and down).
    The problem is that it opens a modal window that i would like to close just after the reordering... or even better, not showing it at all.
    How can i do this?
    Thank you!!
  • You would need to turn of the event handlers for those links at a time delayed time after the fields javascript loads and instantiates those event handlers. I believe this is wha would turn off that event handler:

    $(document).off("click", ".datatable_action, #data_table td[class^='col']:not('.actions')");


    See line 1498 or so in the fuel/modules/fuel/assets/js/fuel/custom_fields.js
  • Ok! I will try that.
    But i will need the embedded list to refresh after the action.

    Thank you!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!