1/** 2* IMPORTANT: This file has been generated by babel, do not modify it by hand! All changes you made will be lost! 3**/ 4function setShowOptionsTemplate(itemElement) { 5 var data = BakaDX.Form.option('formData'); 6 var items = []; 7 items.push({ 8 id: 'student-settings', 9 text: BakaPopupFormShowOptionsTabStrings.ShowToStudentsLabel, 10 required: true 11 }); 12 items.push({ 13 id: 'student-notes', 14 text: '', 15 required: false 16 }); 17 items.push({ 18 id: 'parent-settings', 19 text: BakaPopupFormShowOptionsTabStrings.ShowToParentsLabel, 20 required: true 21 }); 22 items.push({ 23 id: 'parent-notes', 24 text: '', 25 required: false 26 }); 27 items.push({ 28 id: 'teacher-settings', 29 text: BakaPopupFormShowOptionsTabStrings.ShowToTeachersLabel, 30 required: true 31 }); 32 items.push({ 33 id: 'teacher-notes', 34 text: '', 35 required: false 36 }); 37 itemElement.append($(generateItemGroup(items, 150))); 38 $("#student-settings").dxRadioGroup({ 39 layout: 'horizontal', 40 dataSource: showOptionsData, 41 displayExpr: 'Text', 42 valueExpr: 'Id', 43 value: data.ShowToStudentsOptions, 44 onValueChanged: function onValueChanged(e) { 45 data.ShowToStudentsOptions = e.value; 46 if (e.value == BakaEnums.ShowOptions.DontShow) data.ShowToStudentsNote = ""; 47 $("#student-notes").dxTextBox({ 48 disabled: e.value == BakaEnums.ShowOptions.DontShow, 49 value: data.ShowToStudentsNote 50 }); 51 } 52 }); 53 $("#student-notes").dxTextBox({ 54 placeholder: BakaPopupFormShowOptionsTabStrings.StudentsNotePlaceholder, 55 value: data.ShowToStudentsNote, 56 onValueChanged: function onValueChanged(e) { 57 data.ShowToStudentsNote = e.value; 58 }, 59 disabled: data.ShowToStudentsOptions == BakaEnums.ShowOptions.DontShow 60 }); 61 $("#parent-settings").dxRadioGroup({ 62 layout: 'horizontal', 63 dataSource: showOptionsData, 64 displayExpr: 'Text', 65 valueExpr: 'Id', 66 value: data.ShowToParentsOptions, 67 onValueChanged: function onValueChanged(e) { 68 data.ShowToParentsOptions = e.value; 69 if (e.value == BakaEnums.ShowOptions.DontShow) data.ShowToParentsNote = ""; 70 $("#parent-notes").dxTextBox({ 71 disabled: e.value == BakaEnums.ShowOptions.DontShow, 72 value: data.ShowToParentsNote 73 }); 74 } 75 }); 76 $("#parent-notes").dxTextBox({ 77 placeholder: BakaPopupFormShowOptionsTabStrings.ParentsNotePlaceholder, 78 value: data.ShowToParentsNote, 79 onValueChanged: function onValueChanged(e) { 80 data.ShowToParentsNote = e.value; 81 }, 82 disabled: data.ShowToParentsOptions == BakaEnums.ShowOptions.DontShow 83 }); 84 $("#teacher-settings").dxRadioGroup({ 85 layout: 'horizontal', 86 dataSource: showOptionsData, 87 displayExpr: 'Text', 88 valueExpr: 'Id', 89 value: data.ShowToTeachersOptions, 90 onValueChanged: function onValueChanged(e) { 91 data.ShowToTeachersOptions = e.value; 92 if (e.value == BakaEnums.ShowOptions.DontShow) data.ShowToTeachersNote = ""; 93 $("#teacher-notes").dxTextBox({ 94 disabled: e.value == BakaEnums.ShowOptions.DontShow, 95 value: data.ShowToTeachersNote 96 }); 97 } 98 }); 99 $("#teacher-notes").dxTextBox({ 100 placeholder: BakaPopupFormShowOptionsTabStrings.TeachersNotePlaceholder, 101 value: data.ShowToTeachersNote, 102 onValueChanged: function onValueChanged(e) { 103 data.ShowToTeachersNote = e.value; 104 }, 105 disabled: data.ShowToTeachersOptions == BakaEnums.ShowOptions.DontShow 106 }); 107}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.