|
@@ -561,6 +561,8 @@ $(document).ready(() => {
|
|
|
});
|
|
|
|
|
|
$('#bills-expr').bind('change mouseleave', function () {
|
|
|
+ if (this.readOnly) return;
|
|
|
+
|
|
|
const expr = $(this);
|
|
|
const select = SpreadJsObj.getSelectObject(billsSheet);
|
|
|
const field = expr.attr('field'), orgValue = expr.attr('org'), newValue = expr.val();
|
|
@@ -939,6 +941,8 @@ $(document).ready(() => {
|
|
|
posSpread.bind(spreadNS.Events.SelectionChanged, posSpreadObj.selectionChanged);
|
|
|
if (!readOnly) {
|
|
|
$('#pos-expr').bind('change mouseleave', function () {
|
|
|
+ if (this.readOnly) return;
|
|
|
+
|
|
|
const expr = $(this);
|
|
|
const select = SpreadJsObj.getSelectObject(posSheet);
|
|
|
const field = expr.attr('field'), orgValue = expr.attr('org'), newValue = expr.val();
|