Created
May 7, 2016 03:14
-
-
Save rjesh-git/e8d660dc2007dc4b781e848df6e2478e to your computer and use it in GitHub Desktop.
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
var showDocs = function() { | |
var qGroups = Srch.ScriptApplicationManager.get_current().queryGroups; | |
$.each(qGroups, function() { | |
if (this.displays != null && this.displays.length > 0) { | |
// Result source GUID | |
this.dataProvider.set_sourceID('70949b02-0f2c-4026-9c4f-c9d6e0023aa4'); | |
this.dataProvider.issueQuery(); | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment