Reviewed & tested by the community
Project:
Pay
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jan 2013 at 19:32 UTC
Updated:
15 Mar 2013 at 17:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
smira commentedComment #2
quicksketchThis patch makes a necessary change, but I'm not sure the approach is solid:
AFAIK, $label has already been translated, so if you were on a multilingual site, the class name would end up in the local language. Here's a reroll that simplifies the whole approach and just uses the card name as the classname (but it still runs it through drupal_html_class() just to be safe).
Comment #3
quicksketchOops sorry that patch included fixes to the JS too. Here's a patch for specifically this problem.
Comment #4
quicksketchHm, turns out those JS changes were actually related to this particular issue. In Drupal 6, the labels themselves were images, but in D7 for some reason these were made into separate form elements. This makes the D7 version match the D6 approach, and it fixes the JS that comes with Pay so that it works again.
Comment #5
smira commentedThanks quicksketch, looks nice now with the opacity working correctly.
+1 commit