If action_buttons wasn't an object/array would fail.

In our wpec templates, and even the default one it should just be
pulling the action button directly, not multiple. Though I am sure there
are times there are more than one. (Maybe if you have a widget or
something?) Either way both ways will now work.
Merge pull request #970 from marcusds/master

#969 refer to 969
Improve wording of "Address to calculate shipping with" options.
Change js selectors not to hide table rows that have payment information
Combined js selectors to perform single action when hiding, rather than hide then show
Fix malformed class attribute on "Shipping Address" header row
Fix multiple change events firing on single action.  Seems that the .on/.off calls where out of balance, as each change occured additional .change events were being added.
Merge pull request #977 from JeffPyeBrook/do-not-hide-gateways-on-checkout

Fix for hiding of payment gateway rows on checkout table described in #597 and multiple AJAX requests on click of shipping same as billing
Merge pull request #972 from benhuson/calc_shipping_addr_display

Improve wording of "Address to calculate shipping with" options.
Use checked() instead of old legacy code.
Default to add_to_cart as the proper action_button value, otherwise, grab the first value.
Eliminate notices on sales log page when shipping is disabled and/or shipping fields are hidden or removed.
Properly globalize purchlogitem in wpsc_purchlogs_get_weight_text(), and grab global ID early instead of late.