dandelion / dandelion-datatables

Dandelion component for DataTables
http://dandelion.github.io/components/datatables/
Other
110 stars 49 forks source link

StateLoad callback does not return result #302

Open jchafik opened 9 years ago

jchafik commented 9 years ago

The StateLoad callback must return a result to its caller. Currently, the callback function is wrapped in another function and no result is returned.

As a workaround, you can currently define the callback as follows:

<div dt:confType="callback" dt:type="stateload" dt:function="return stateLoadCallback"></div>