Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (this.checked) {
  2.                                     selectPersonITR.show();
  3.                                 }
  4.                                 selectPersonITR.attr('data-person-id', dataPersonID);
  5.                                 var applicationId = $(currentNotAllowanceDecisionGeneralTable).attr('data-id');
  6.                                 var multiselectId = applicationId.toString() + dataPersonID.toString();
  7.                                 selectPersonITR.find('.fio').text($(this).next().find('.fio').text());
  8.                                 selectPersonITR.find('.post').text($(this).next().find('.post').text());
  9.                                 selectPersonITR.find('.multiSelect').attr('multiselect-id', multiselectId);
  10.                                 selectPersonITR.find('.comment').attr('for-multiselect-id', multiselectId);
  11.                                 selectPersonITR.find('.allowanceDecisionTD input').each(function () {
  12.                                     $(this).addClass('allowanceDecision');
  13.                                     $(this).kendoLazyDropDownList({
  14.                                         dataTextField: "Text",
  15.                                         dataValueField: "Value",
  16.                                         dataSource: dataSource,
  17.                                         index: 0,
  18.                                         lazyInit: true,
  19.                                         needRenderLabel: true,
  20.                                         additionalCssClasses: "w250px",
  21.                                         change: existsAllowanceDecisionChange
  22.                                     });
  23.                                     $(this).attr('data-id', applicationId);
  24.                                     getKendoDropDown($(this)).addClass(ALLOWANCE_DECISION_CLASS.NotAllowed);
  25.                                 });
  26.                                 var selectedDecision = $(".notAllowanceDecisionGeneralDIV[data-id='" + applicationId + "']").attr('selectedDecision');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement