« Previous | Next » 

Revision f5d56fad

IDf5d56fadd920ef9b5b75e4e158bfe5852e118698
Parent 77129d2a
Child 91a28c8e

Added by Hector Sanjuan over 10 years ago

feature #507: Made sunstone.js unaware of the existence of dataTables.

DataTables are a very particular object which is part of the
plugins. Therefore instead of having sunstone.js take a dataTable and find out
which elements are checked in order to run an action on them, this is now work
to be done by the plugins. They can use a helper called
getSelectedNodes(dataTable) to do that. Actions now define an "elements"
function which returns an array of elements, instead of having a "dataTable"
returning the dataTable of the plugin. runActionOnDatatableNodes not needed anymore.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences