No offense taken! I was reading-in to your statement that "
the
developer began with too much happening"...
OK, so you're stuck with
some code that you don't fully understand,
and, unfortunately, you can't get help from the author. Understood.
There
is no campaign_summary object. The previous developer created
campaign_summary.table this way:
- campaign_summary.table
= $('#campaignTable');
campaign_summary
, as shown in the code
above IS an object. This code adds or updates an object
member, "table".
I
assume you've omitted some code that initializes
campaign_summary, e.g.:
var campaign_summary
= {};
The code most likely is using
this object as an associative array:
Posting server code here isn't of much use, since it's a
forum about jQuery, and there are way too many server languages to
deal with them all. I can't tell what language you use on your
server. It looks a bit like javascript. Part of it looks like PHP. I
can't guess.
You seem to have some evidence from your server logs that suggests
that you are getting multiple Ajax requests, is that correct? Did you
use your browser's inspection tools to see if, in fact, the
browser actually IS sending multiple (or two) Ajax requests?
I suspect a server coding error.