Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (this.checked) {
- selectPersonITR.show();
- }
- selectPersonITR.attr('data-person-id', dataPersonID);
- var applicationId = $(currentNotAllowanceDecisionGeneralTable).attr('data-id');
- var multiselectId = applicationId.toString() + dataPersonID.toString();
- selectPersonITR.find('.fio').text($(this).next().find('.fio').text());
- selectPersonITR.find('.post').text($(this).next().find('.post').text());
- selectPersonITR.find('.multiSelect').attr('multiselect-id', multiselectId);
- selectPersonITR.find('.comment').attr('for-multiselect-id', multiselectId);
- selectPersonITR.find('.allowanceDecisionTD input').each(function () {
- $(this).addClass('allowanceDecision');
- $(this).kendoLazyDropDownList({
- dataTextField: "Text",
- dataValueField: "Value",
- dataSource: dataSource,
- index: 0,
- lazyInit: true,
- needRenderLabel: true,
- additionalCssClasses: "w250px",
- change: existsAllowanceDecisionChange
- });
- $(this).attr('data-id', applicationId);
- getKendoDropDown($(this)).addClass(ALLOWANCE_DECISION_CLASS.NotAllowed);
- });
- var selectedDecision = $(".notAllowanceDecisionGeneralDIV[data-id='" + applicationId + "']").attr('selectedDecision');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement