gerardharvey / proto-athena

0 stars 1 forks source link

Enable/Disable buttons #2

Open maoo opened 10 years ago

maoo commented 10 years ago

The buttons Save Visible Groups and Save Visible Workflows should be enabled/disabled depending on the state of the list; if the list is up-to-date with the datasource, the button should be disabled (and enabled otherwise).

I guess YUI DataTable should have some facilities for that.

Code is on

https://github.com/gerardharvey/proto-athena/blob/master/proto-athena-share/src/main/resources/META-INF/components/site/groups/visiblesitegroups.js https://github.com/gerardharvey/proto-athena/blob/master/proto-athena-share/src/main/resources/META-INF/components/site/workflows/visiblesiteworkflows.js