gestadieu / sfAdminThemejRollerPlugin

Symfony admin generator with jQuery UI Theme Roller integration
MIT License
24 stars 9 forks source link

Support for jQuery UI 1.8 button widgets #12

Closed ghost closed 11 years ago

ghost commented 13 years ago

Hi,

I've modified the plugin to use standard button widgets supported since jQuery UI 1.8. With these changes empty SPAN tags inserted in templates with the only purpose of displaying icons are no longer needed. Icon names are saved as class attribute of link or button elements and extracted by the jQuery script when buttons are created.

I hope you'll find these changes useful.

Regards, Massimo

66Ton99 commented 13 years ago

This changes make problems with custom buttons with icons like:

config:
  list:
    object_actions:
      _blacklist:
        lable: Blacklist
        ui-icon: cancel
        action: moveToBlacklist