apps/costcontrol/js/config/config_manager.js
// Produce a optionchange for the given option
Produce a optionchange for the given option
Produce a optionchange for the given option
function dispatchOptionChange(name, value, oldValue, settings) {
    var event = new CustomEvent('optionchange', { detail: {
      name: name,
      value: value,
      oldValue: oldValue,
      settings: settings
    } });
    window.dispatchEvent(event);
    debug('Event optionchange dispatched for', name);
  }
function dispatchOptionChange ( name , value , oldValue , settings ) { var event = new CustomEvent ( 'optionchange' , { detail : { name : name , value : value , oldValue : oldValue , settings : settings } } ) ; window . dispatchEvent ( event ) ; debug ( 'Event optionchange dispatched for' , name ) ; }
Produce a optionchange for the given option
Produce a optionchange for the given option