Zmiany pomiędzy wersją 96 and wersją 97 dla DeployerGuide/AdvancedConfiguration/CustomRegisters

Pokaż
Ignoruj:
Data i czas:
04/16/19 12:59:17 (5 years temu)
Autor:
MK (IP: 83.144.106.170)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/AdvancedConfiguration/CustomRegisters

    v96 v97  
    216216}}} 
    217217 
    218 {{{ 
    219 { 
    220     "onChange": "var dat = new Date(); dat.setMonth(dat.getMonth() + parseInt($('{DIALOG_NAME}_v480').value)); CalendarInput.setValue('{DIALOG_NAME}_v302', dat.format('Y-m-d'));" 
     218Od wersji 6.0.201 zalecane jest użycie znacznika WIDGET_ID(...): 
     219{{{ 
     220{ 
     221    "onChange": "$('{WIDGET_ID(data_wpr)}').value='123';" 
     222} 
     223}}} 
     224{{{ 
     225{ 
     226    "onChange": "var dat = new Date(); dat.setMonth(dat.getMonth() + parseInt($('WIDGET_ID(month)').value)); CalendarInput.setValue('{WIDGET_ID(data_wpr)}', dat.format('Y-m-d'));" 
    221227} 
    222228}}}