|
@@ -87,6 +87,7 @@ var draggableVisitTemplateSegmentTemplates = null;
|
|
|
|
|
|
recalculateRowsPositionIndexes: function(table, leftRightPosition){
|
|
|
var self = this;
|
|
|
+ showMask();
|
|
|
var currentRowsData = [];
|
|
|
var rows = $(table).find('tbody tr');
|
|
|
$.each(rows, function(i, row){
|
|
@@ -172,6 +173,7 @@ var draggableVisitTemplateSegmentTemplates = null;
|
|
|
},
|
|
|
updateDraggedDeactivatedRecord: function(position){
|
|
|
var self = this;
|
|
|
+ showMask();
|
|
|
var positionUrl = position == 'LEFT' ? 'moveToLeft':'moveToRight';
|
|
|
$.post('/api/visitTemplateSegmentTemplate/reactivate', {uid: self.draggedDeactivatedRecordUid, memo:'Restored by drag & drop'}, function(response){
|
|
|
if(response.success){
|
|
@@ -182,8 +184,7 @@ var draggableVisitTemplateSegmentTemplates = null;
|
|
|
}
|
|
|
},'json');
|
|
|
}
|
|
|
- },'json');
|
|
|
-
|
|
|
+ },'json');
|
|
|
},
|
|
|
init: function(){
|
|
|
this.initDraggableTable();
|