|
@@ -1372,6 +1372,7 @@ $(document).ready(() => {
|
|
|
let bcontent = $(".bcontent-wrap") ? $(".bcontent-wrap").height() : 0;
|
|
|
$(".sp-wrap").height(bcontent-30);
|
|
|
spSpread.refresh();
|
|
|
+ window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -1692,6 +1693,7 @@ $(document).ready(() => {
|
|
|
detail.spread.refresh();
|
|
|
}
|
|
|
if (checkedChanges) checkedChanges.refresh();
|
|
|
+ window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -1702,12 +1704,17 @@ $(document).ready(() => {
|
|
|
if (detail) {
|
|
|
detail.spread.refresh();
|
|
|
}
|
|
|
+ $('.zhongjian-msg').height($('#zhongjian .sjs-bottom').height());
|
|
|
+ window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// 附件加载上下窗口resizer
|
|
|
$.divResizer({
|
|
|
select: '#file-spr',
|
|
|
+ callback: function () {
|
|
|
+ window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
// 变更令加载上下窗口resizer
|
|
@@ -1715,6 +1722,7 @@ $(document).ready(() => {
|
|
|
select: '#change-spr',
|
|
|
callback: function () {
|
|
|
if (checkedChanges) checkedChanges.refresh();
|
|
|
+ window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -2647,8 +2655,12 @@ $(document).ready(() => {
|
|
|
if (!detail) {
|
|
|
detail = new Detail($('#detail-spread'));
|
|
|
detail.spread.refresh();
|
|
|
+ $('#zhongjian .sjs-bottom').height('400px');
|
|
|
+ $('.zhongjian-msg').height($('#zhongjian .sjs-bottom').height());
|
|
|
} else {
|
|
|
detail.spread.refresh();
|
|
|
+ $('#zhongjian .sjs-bottom').height('400px');
|
|
|
+ $('.zhongjian-msg').height($('#zhongjian .sjs-bottom').height());
|
|
|
}
|
|
|
}
|
|
|
if (tab.attr('content') === '#checked-change') {
|