I was able to get the Aegir Server Node Service select forms to use the #states feature of Forms API.

No more custom javascript!

I pushed this code to the 7.x-3.x-js-states branch, and a patch is attached.

CommentFileSizeAuthor
#2 2697147-aegir-fix-js-states.patch2.08 KBJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Pugh created an issue. See original summary.

Jon Pugh’s picture

Jon Pugh’s picture

Issue summary: View changes
gboudrias’s picture

Status: Needs review » Reviewed & tested by the community

Works for me.

  • gboudrias committed 3e5b319 on 7.x-3.x authored by Jon Pugh
    Issue #2697147: Use forms API #states for Hosting Server Service...
gboudrias’s picture

Status: Reviewed & tested by the community » Fixed

We decided in the scrum to just merge this since the AJAX didn't previously work anyway.

Jon Pugh’s picture

Great. Branch delete!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.