Commit aa875a3f authored by Eric Windham's avatar Eric Windham Committed by GitHub

Merge pull request #3249 from wpninjas/issue#3235

Revert removal of Credit Card Fields
parents 033afb98 93b07c4b
......@@ -46,12 +46,13 @@ define( ['models/fields/typeSectionCollection'], function( fieldTypeSectionColle
// Declare array of fields to hide.
// TODO: We should offload this to somewhere configurable later.
var hiddenFields = [ 'creditcard',
'creditcardcvc',
'creditcardexpiration',
'creditcardfullname',
'creditcardnumber',
'creditcardzip' ];
// var hiddenFields = [ 'creditcard',
// 'creditcardcvc',
// 'creditcardexpiration',
// 'creditcardfullname',
// 'creditcardnumber',
// 'creditcardzip' ];
var hiddenFields = [];
// Seach our results of hidden fields.
for ( var i = filteredSectionCollection.models[ 0 ].get( 'fieldTypes' ).length; i >= 0; i-- ) {
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -9,7 +9,7 @@ class NF_Fields_CreditCard extends NF_Abstracts_Field
protected $_type = 'creditcard';
protected $_section = '';
protected $_section = 'pricing';
protected $_icon = 'credit-card';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment