AnsweredAssumed Answered

Accommodating backbone.js changes

Question asked by Adam Adkins on May 18, 2017

Hey guys,

 

For assorted reasons, just now on Sugar 7.8 and am having a bit of difficulty converting a custom dashboard we built. I've spent plenty of time in this article but I'm not seeing the fix here.

 

Basically, we need to track the change in two dropdown lists, and those changes fire a small function using the data from each dropdown.

 

This is what we have now, in the init portion of the file:

 

this.events['change select[id=period]'] = 'loadData';
this.events['change select[id=userid]'] = 'loadData';

 

Maybe I'm missing an obvious fix, but the couple of things I've tried haven't worked. Some direction would be great.

Outcomes