The JS in Drupal.behaviors.flagLinkOptions can probably now be done in Form API.

Comments

joachim’s picture

Issue tags: +Novice

Tagging.

joachim’s picture

Issue tags: +JavaScript

Tagging.

joachim’s picture

joachim’s picture

Status: Active » Needs review
StatusFileSize
new3.01 KB

Not actually as much as a code saving as I hoped, as we should really be nice and to the legwork for any other link type modules.

Still, I prefer to have code that uses FormAPI rather than raw JS: keeps everything in the same place and easier to read.

socketwench’s picture

Hm. Okay, the automated tests run cleanly, but I suspect this requires manual testing.

joachim’s picture

Yup, Simpletest knows nothing about JS.

joachim’s picture

StatusFileSize
new3.98 KB

Updated patch -- the intro text wasn't getting hidden.

@socketwench: got time to give this a very quick look before I commit?

socketwench’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. Confirmed with manual testing.

joachim’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Committed.

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