- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
[1:02:57] Dmitriy Artemyev: if (s == rb.getString('pricesForm.oneAdult'))
((((p.getChildAt(0) as HBox).getChildAt(0) as Form).getChildAt(0) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
if (s == rb.getString('pricesForm.twoAdults'))
((((p.getChildAt(0) as HBox).getChildAt(0) as Form).getChildAt(1) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
if (s == rb.getString('pricesForm.extraAdultMarkup'))
((((p.getChildAt(0) as HBox).getChildAt(0) as Form).getChildAt(2) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
if (s == rb.getString('pricesForm.children') + model.hotelsModule.hotelTotalInfo.iChildAge1)
((((p.getChildAt(0) as HBox).getChildAt(1) as Form).getChildAt(0) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
if (s == rb.getString('pricesForm.children') + model.hotelsModule.hotelTotalInfo.iChildAge2)
((((p.getChildAt(0) as HBox).getChildAt(1) as Form).getChildAt(1) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
if (s == rb.getString('pricesForm.children') + model.hotelsModule.hotelTotalInfo.iChildAge3)
((((p.getChildAt(0) as HBox).getChildAt(1) as Form).getChildAt(2) as FormItem).getChildAt(0) as NumericTextInput).value = newS;
Делаю код ревью и рефакторинг в одном старом коде, вот на что нарвался и выпал в даун )
guest 11.01.2010 14:10 # +1
guest 11.01.2010 14:34 # +1
Nagg 11.01.2010 19:43 # +3
guest 12.01.2010 14:15 # +1
DaFive 30.01.2010 19:27 # 0
dimas_art 02.02.2010 00:23 # 0
guest 05.02.2010 15:11 # 0
dimas_art 05.02.2010 18:23 # 0