|
|
@@ -2275,9 +2275,12 @@ class TableAjax extends ViewAjax {
|
|
|
_inlineEditBox.show();
|
|
|
_inlineEditBox.on('shown.bs.modal', function(e) {
|
|
|
var dialogBox = jQuery(this).find('.modal-dialog'),
|
|
|
- modalBody = dialogBox.find('.modal-body');
|
|
|
+ modalBody = dialogBox.find('.modal-body'),
|
|
|
+ offset = dialogBox.offset();
|
|
|
+ dialogBox.css({position: 'absolute', margin:0, top: offset.top, left: offset.left});
|
|
|
modalBody.css({overflow: 'scroll'});
|
|
|
dialogBox.resizable({minHeight: 300, minWidth: 300, alsoResize: modalBody});
|
|
|
+ dialogBox.draggable();
|
|
|
});
|
|
|
_inlineEditBox.find('input[name=ID]').val(e.data.id);
|
|
|
_inlineEditBox.find('input[name=col]').val(e.data.col);
|