ЙажаСценарий / Говнокод #18374 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
var me = this;            
if (me.profile.carveoutSettings) {
    me.profile.carveoutSettings.truncationMethod = fields.truncationMethod;
    me.profile.carveoutSettings.truncationMode = fields.truncationMode;
    me.profile.carveoutSettings.applyTruncation = fields.applyTruncation;
    me.profile.carveoutSettings.truncationValue = fields.truncationValue;
    me.profile.carveoutSettings.applyExclusion = fields.applyExclusion;
    me.profile.carveoutSettings.serviceTypes = me.getSelected(me.getServiceTypeSelector().getStore(), 'ServiceSubCategoryID');
    me.profile.carveoutSettings.placeOfServices = me.getSelected(me.getPlaceOfServiceSelector().getStore(), 'code');
    me.profile.carveoutSettings.chronicConditions = me.getSelected(me.getChronicConditionSelector().getStore(), 'column');
} else {
    this.profile.carveoutSettings = {
        truncationMethod: fields.truncationMethod,
        truncationMode: fields.truncationMode,
        applyTruncation: fields.applyTruncation,
        truncationValue: fields.truncationValue,
        applyExclusion: fields.applyExclusion,
        serviceTypes: me.getSelected(me.getServiceTypeSelector().getStore(), 'ServiceSubCategoryID'),
        placeOfServices: me.getSelected(me.getPlaceOfServiceSelector().getStore(), 'code'),
        chronicConditions: me.getSelected(me.getChronicConditionSelector().getStore(), 'column')
    }
}

Суслика видишь? а он есть ...

Запостил: expert expert, (Updated )

Комментарии (0) RSS

Добавить комментарий

Из-за тебя ушел bormand, guest!

    А не использовать ли нам bbcode?


    8