Active
Project:
Button Field
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2012 at 00:59 UTC
Updated:
27 Sep 2012 at 19:00 UTC
Hello there,
I added a button to trigger a rule and had it display in the same view as Views Bulk Operations... This appeared to break VBO as no functions would execute anymore.
Anyone have any similar problems?
Cheers
Dan
Comments
Comment #1
tr33m4n commentedI am using the current Git version
Comment #2
BassistJimmyJam commentedI have looked into this a bit and discovered that it has to do with how button fields render when not on a form. Basically, when you are viewing an entity there is no form and therefore Drupal's ajax system is never loaded even though the button defines the
#ajaxkey and callback. As a result, button fields in this mode render a dummy form wrapper that will allow it to use Drupal's ajax framework rather than using custom javascript for this. However, VBO wraps the views result in a form which then interferes with the button field's dummy form.I have been working on a way to get around this. I would like to avoid using custom javascript to perform the callbacks as it would need to reproduce a lot of what Drupal already does in order to function properly. Further investigation is still needed.