Samson Mutunga 3 년 전
부모
커밋
dffe4ed3c7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      resources/views/app/practice-management/visit-templates/visit-template-segment-templates/index.blade.php

+ 1 - 0
resources/views/app/practice-management/visit-templates/visit-template-segment-templates/index.blade.php

@@ -177,6 +177,7 @@ var draggableVisitTemplateSegmentTemplates = null;
         },
         updateDraggedDeactivatedRecord: function(position){
             var self = this;
+            if(!self.draggedDeactivatedRecordUid) return;
             self.forceShowMask();
             var positionUrl = position == 'LEFT' ? 'moveToLeft':'moveToRight';
             $.post('/api/visitTemplateSegmentTemplate/reactivate', {uid: self.draggedDeactivatedRecordUid, memo:''}, function(response){