@sapui5/sap.fe.core 1.96.5 → 1.96.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/sap/fe/core/.library
CHANGED
|
@@ -1039,11 +1039,7 @@ sap.ui.define(
|
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
|
-
|
|
1043
|
-
mParameters.bGetBoundContext = false;
|
|
1044
|
-
} else {
|
|
1045
|
-
mParameters.bGetBoundContext = true;
|
|
1046
|
-
}
|
|
1042
|
+
mParameters.bGetBoundContext = this._getBoundContext(oView, mParameters);
|
|
1047
1043
|
// Need to know that the action is called from ObjectPage for changeSet Isolated workaround
|
|
1048
1044
|
mParameters.bObjectPage = oView.getViewData().converterType === "ObjectPage";
|
|
1049
1045
|
return this._syncTask()
|
|
@@ -1519,6 +1515,12 @@ sap.ui.define(
|
|
|
1519
1515
|
bForceFocus: bForceFocus
|
|
1520
1516
|
});
|
|
1521
1517
|
},
|
|
1518
|
+
|
|
1519
|
+
_getBoundContext: function(oView, mParams) {
|
|
1520
|
+
var iViewLevel = oView.getViewData().viewLevel;
|
|
1521
|
+
var bRefreshAfterAction = iViewLevel > 1 || (iViewLevel === 1 && mParams.controlId);
|
|
1522
|
+
return !mParams.isNavigable || !!bRefreshAfterAction;
|
|
1523
|
+
},
|
|
1522
1524
|
|
|
1523
1525
|
/**
|
|
1524
1526
|
* Checks if there are validation (parse) errors for controls bound to a given context
|