src/sap.ui.rta/src/sap/ui/rta/ControlTreeModifier.js
function (oControl, sPropertyName, oPropertyBinding) {
			var oOldValue;
			var oMetadata = oControl.getMetadata().getPropertyLikeSetting(sPropertyName);

			if (oMetadata) {
				var sPropertyGetter = oMetadata._sGetter;
				oOldValue = oControl[sPropertyGetter]();
			}

			JsControlTreeModifier.setPropertyBinding.apply(this, arguments);

			/* If the value changed, record the reversal as undo operation */
			if (oOldValue !== oPropertyBinding) {
				this._saveUndoOperation("setPropertyBinding", [oControl, sPropertyName, oOldValue]);
			}
		}
function (oControl, sPropertyName, oPropertyBinding) {
			var oOldValue;
			var oMetadata = oControl.getMetadata().getPropertyLikeSetting(sPropertyName);

			if (oMetadata) {
				var sPropertyGetter = oMetadata._sGetter;
				oOldValue = oControl[sPropertyGetter]();
			}

			JsControlTreeModifier.setPropertyBinding.apply(this, arguments);

			/* If the value changed, record the reversal as undo operation */
			if (oOldValue !== oPropertyBinding) {
				this._saveUndoOperation("setPropertyBinding", [oControl, sPropertyName, oOldValue]);
			}
		}
function ( oControl , sPropertyName , oPropertyBinding ) { var oOldValue ; var oMetadata = oControl . getMetadata ( ) . getPropertyLikeSetting ( sPropertyName ) ; if ( oMetadata ) { var sPropertyGetter = oMetadata . _sGetter ; oOldValue = oControl [ sPropertyGetter ] ( ) ; } JsControlTreeModifier . setPropertyBinding . apply ( this , arguments ) ; /* If the value changed, record the reversal as undo operation */ if ( oOldValue !== oPropertyBinding ) { this . _saveUndoOperation ( "setPropertyBinding" , [ oControl , sPropertyName , oOldValue ] ) ; } }
Record the previous value of the property binding in the undo operation
@override
Record the previous value of the property binding in the undo operation