The full-back, who suffered the injury during the recent home defeat to Burnley, went under the knife last week and now faces three months on the sidelines.
Physio Alex Dalton told the club website: "James had his operation last week and everything went all right. It was as expected with no complications, so we should see him back in around 12 weeks.
"This week he will stay at home to rest after the operation with his arm in a sling. We will get him back next week, but will not be able to do much for a few weeks when we will get him on a cycle to keep his leg strength up.
"It will be the lad's longest period injured so he has to get his head around it because it will go quicker than he thinks, then he has the task of getting back match fit."