we need to Update the modules,ssp-libraries : dependencies,
define('UserCustomFields'
, [
'Profile.Model'
, 'SC.Models.Init'
]
, function
(
ProfileModel
, ModelsInit
)
{
'use strict';
ProfileModel.get = _.wrap(ProfileModel.get, function (fn)
{
var profile = fn.apply(this, _.toArray(arguments).slice(1));
profile.customfields = ModelsInit.customer.getCustomFields();
return profile;
});
});