Samson Mutunga 3 年之前
父节点
当前提交
dffe4ed3c7

+ 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){