in Facebook/WebApp/ClientJs/ConfigureController.js [28:44]
$scope.SaveConfigSettings = function() {
$scope.isDisabledSaveButton = true;
$scope.configurationSavedMsg = "Saving Configuration ...";
var settings = {
FBAppIdValue: (typeof $scope.FBAppIdValue !== 'undefined') ? $scope.FBAppIdValue : "",
FBAppSecretValue: (typeof $scope.FBAppSecretValue !== 'undefined') ? $scope.FBAppSecretValue : "",
FBVerifyTokenValue: (typeof $scope.FBVerifyTokenValue !== 'undefined') ? $scope.FBVerifyTokenValue : "",
AADAppIdValue: (typeof $scope.AADAppIdValue !== 'undefined') ? $scope.AADAppIdValue : "",
AADAppSecretValue: (typeof $scope.AADAppSecretValue !== 'undefined') ? $scope.AADAppSecretValue : ""
};
$http.post(configurationUrl, settings).then(function(response) {
var res = response.data;
setTimeout(function () {
}, 500);
$scope.configurationSavedMsg = "Configuration Saved Successfully.";
}).catch(function(error) { });
}