Created
April 27, 2017 17:17
-
-
Save JoA-MoS/c6476b0ab31ac671b9ca6760336e4167 to your computer and use it in GitHub Desktop.
Some Code from sharepoint offline.js that determines the SyncClient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function useNGSCSyncDialog(a) { | |
if (!Boolean(a) || !Boolean(_spPageContextInfo)) | |
return false; | |
var b = typeof a.ListTemplateType != "undefined" && a.ListTemplateType == 700; | |
return _spPageContextInfo.isSPO ? b ? Flighting.VariantConfiguration.IsExpFeatureClientEnabled(569) || _spPageContextInfo.showNGSCDialogForSyncOnODB : !(window.OffSwitch == null || OffSwitch.IsActive("92139EC2-6BC6-4DE5-8F94-AFBF3DB3E687")) && _spPageContextInfo.showNGSCDialogForSyncOnTS : false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment