The latest attached patch includes:

  • Cleaned up code, following best practices with improved hooks and JS behaviors support
  • Entity support (currently only nodes, but extensible)
  • Views support including grouping (currently only unformatted, table, and list styles, but extensible)
  • flaggable/flagged/unflagged/self CSS classes with JS AJAX class toggling

Additionally, I have offered to maintain this module, since it looks like it has been abandoned.

Comments

firewaller created an issue. See original summary.

firewaller’s picture

StatusFileSize
new8.39 KB

Cleaned up above patch.

firewaller’s picture

Title: Major cleanup - views support » Major cleanup - Views support and JS behaviors
firewaller’s picture

Added additional entity support (currently only node and message)

firewaller’s picture

StatusFileSize
new8.71 KB

Updated JS behavior identifier

firewaller’s picture

StatusFileSize
new8.81 KB

Wrapped JS in once to prevent multiple bindings

firewaller’s picture

StatusFileSize
new8.89 KB

Included fix for following:

Notice: Undefined offset: 0 in flag_classes_preprocess_views_view_table() (line 126 of flag_classes/flag_classes.module).

firewaller’s picture

StatusFileSize
new11.43 KB

It's been a while, but I just rewrote the entire module again in the attached patch. See issue description.

firewaller’s picture

Title: Major cleanup - Views support and JS behaviors » Major cleanup - Views support with grouping and JS behaviors
Issue summary: View changes

  • firewaller committed 05d5838 on 7.x-1.x
    Issue #2603000 by firewaller: Major cleanup - Views support with...
firewaller’s picture

Status: Active » Fixed
firewaller’s picture

Status: Fixed » Closed (fixed)