Browse Source

Added forms to stop errors when creating orders via the backend

1-2-stable-sysmocom
Brian Quinn 12 years ago
parent
commit
20bef36f65
  1. 9
      app/views/admin/payments/source_forms/_paypalexpress.html.erb
  2. 0
      app/views/admin/payments/source_views/_paypalexpress.html.erb

9
app/views/admin/payments/source_forms/_paypalexpress.html.erb

@ -0,0 +1,9 @@
<% content_for :head do %>
<script type="text/javascript">
jQuery(document).ready(function(){
$("label:contains('<%= payment_method.name %>')").hide();
$("label:contains('<%= payment_method.name %>') input").disable();
});
</script>
<% end %>

0
app/views/admin/payments/source_views/_paypalexpress.erb → app/views/admin/payments/source_views/_paypalexpress.html.erb

Loading…
Cancel
Save