Commit 25191e2a authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Merge branch 'cleanup-tabs-search' into 'master'

DCF Tab Search Bug Fixes

See merge request !30
parents 4dc88557 c2fdb4b8
.unl .gcsc-branding,.unl .gsc-table-cell-snippet-close .gs-title,.unl .gsc-url-bottom{display:none}.unl .google-results table,.unl .google-results tbody td,.unl .google-results tbody th{border:0!important}.unl .google-results tbody td,.unl .google-results tbody th{padding:0}.unl .gsc-control-cse{font-family:inherit;font-size:inherit}.unl .cse .gsc-control-cse,.unl .gsc-control-cse{background-color:transparent;border:0;padding:0}.unl .gsc-control-cse .gsc-table-result{display:flex;font-family:inherit;font-size:inherit;padding:0}.unl .gsc-above-wrapper-area{border:0;margin-bottom:2.37em;padding:0}.unl .gsc-result-info{font-size:inherit;margin:0;padding:0}.unl .gsc-webResult .gsc-result{border:0;padding-bottom:2.37em;padding-top:0}.unl .gsc-thumbnail-inside{padding-left:0}.unl .gsc-thumbnail-inside>.gs-title,.unl .gsc-thumbnail-inside>.gs-title *{color:#d00000;height:auto;text-decoration:none;line-height:1.25em}.unl .gsc-thumbnail-inside>.gs-title{font-size:1.5em;margin-bottom:.18em}.unl .gsc-thumbnail-inside>.gs-title *{font-size:1rem}.unl .gsc-thumbnail-left{display:block;margin-bottom:.43em}.unl .gs-snippet{margin-bottom:.43em}.unl .gsc-control-cse .gs-snippet{color:inherit}.unl .gs-promotion-image-box,.unl .gs-web-image-box{padding:0}.unl .gs-promotion-image-box img.gs-promotion-image,.unl .gs-web-image-box img.gs-image{height:4.21em;width:4.21em}.unl .gs-image-box.gs-web-image-box.gs-web-image-box-landscape,.unl .gs-image-box.gs-web-image-box.gs-web-image-box-portrait,.unl .gs-promotion-image-box{margin-left:0;margin-right:1em;margin-top:.24em}.unl .gsc-result.gsc-webResult:hover{border:0}.unl .gsc-url-top{display:block;padding:0 0 1em;font-size:.75em}.unl .gsc-results .gsc-cursor-box{border-bottom:1px solid #e3e3e2;border-radius:0;border-top:1px solid #e3e3e2;margin:0}.unl .gsc-cursor-container-next,.unl .gsc-cursor-container-previous{padding:1em 0}.unl .gs-result .gs-visibleUrl,.unl .gsc-author .unl .gs-result a.gs-visibleUrl,.unl .gsc-location,.unl .gsc-org,.unl .gsc-reviewer,.unl .gsc-role,.unl .gsc-snippet-metadata,.unl .gsc-tel{color:#6d6d6c}.unl .gs-result .gs-visibleUrl,.unl .gs-result a.gs-visibleUrl{padding-bottom:0}.unl .gcsc-find-more-on-google-root{font-size:.84em;margin-top:1em;text-align:left}.unl .gcsc-more-maybe-branding-box{border:0;margin:0;padding:0}.unl .gcsc-find-more-on-google{color:#d00000}.unl .gcsc-find-more-on-google-magnifier,.unl .gsc-cursor{fill:#d00000}
.unl .gcsc-branding,.unl .gsc-table-cell-snippet-close .gs-title,.unl .gsc-url-bottom{display:none}.unl .google-results table,.unl .google-results tbody td,.unl .google-results tbody th{border:0!important}.unl .google-results tbody td,.unl .google-results tbody th{padding:0}.unl .gsc-control-cse{font-family:inherit;font-size:inherit}.unl .cse .gsc-control-cse,.unl .gsc-control-cse{background-color:transparent;border:0;padding:0}.unl .gsc-control-cse .gsc-table-result{display:flex;font-family:inherit;font-size:inherit;padding:0}.unl .gsc-above-wrapper-area{border:0;margin-bottom:2.37em;padding:0}.unl .gsc-result-info{font-size:inherit;margin:0;padding:0}.unl .gsc-webResult .gsc-result{border:0;padding-bottom:2.37em;padding-top:0}.unl .gsc-thumbnail-inside{padding-left:0}.unl .gsc-thumbnail-inside>.gs-title,.unl .gsc-thumbnail-inside>.gs-title *{color:#d00000;height:auto;line-height:1.25em;text-decoration:none}.unl .gsc-thumbnail-inside>.gs-title{font-size:1.5em;margin-bottom:.18em}.unl .gsc-thumbnail-inside>.gs-title *{font-size:1rem}.unl .gsc-thumbnail-left{display:block;margin-bottom:.43em}.unl .gs-snippet{margin-bottom:.43em}.unl .gsc-control-cse .gs-snippet{color:inherit}.unl .gs-promotion-image-box,.unl .gs-web-image-box{padding:0}.unl .gs-promotion-image-box img.gs-promotion-image,.unl .gs-web-image-box img.gs-image{height:4.21em;width:4.21em}.unl .gs-image-box.gs-web-image-box.gs-web-image-box-landscape,.unl .gs-image-box.gs-web-image-box.gs-web-image-box-portrait,.unl .gs-promotion-image-box{margin-left:0;margin-right:1em;margin-top:.24em}.unl .gsc-result.gsc-webResult:hover{border:0}.unl .gsc-url-top{display:block;font-size:.75em;padding:0 0 1em}.unl .gsc-results .gsc-cursor-box{border-bottom:1px solid #e3e3e2;border-radius:0;border-top:1px solid #e3e3e2;margin:0}.unl .gsc-cursor-container-next,.unl .gsc-cursor-container-previous{padding:1em 0}.unl .gs-result .gs-visibleUrl,.unl .gsc-author .unl .gs-result a.gs-visibleUrl,.unl .gsc-location,.unl .gsc-org,.unl .gsc-reviewer,.unl .gsc-role,.unl .gsc-snippet-metadata,.unl .gsc-tel{color:#6d6d6c}.unl .gs-result .gs-visibleUrl,.unl .gs-result a.gs-visibleUrl{padding-bottom:0}.unl .gcsc-find-more-on-google-root{font-size:.84em;margin-top:1em;text-align:left}.unl .gcsc-more-maybe-branding-box{border:0;margin:0;padding:0}.unl .gcsc-find-more-on-google{color:#d00000}.unl .gcsc-find-more-on-google-magnifier,.unl .gsc-cursor{fill:#d00000}
/*# sourceMappingURL=search-google-5.0.css.map */
\ No newline at end of file
{"version":3,"sources":["../scss/search-google.scss"],"names":[],"mappings":"AASA,sFAGE,YAAa,CACd,AAED,uFAGE,kBAAoB,CACrB,AAED,4DAEE,SAAU,CACX,AAED,sBAIE,oBAAoB,AACpB,iBAAkB,CAEnB,AAED,iDAPE,6BAA6B,AAC7B,SAAS,AAGT,SAAU,CAQX,AAED,wCACE,aAAa,AACb,oBAAoB,AACpB,kBAAkB,AAClB,SAAU,CACX,AAED,6BACE,SAAS,AAET,qBAAqB,AACrB,SAAU,CACX,AAED,sBAGE,kBAAkB,AAClB,SAAS,AACT,SAAU,CACX,AAED,gCACE,SAAS,AAET,sBAAsB,AACtB,aAAc,CACf,AAED,2BACE,cAAe,CAChB,AAED,4EAGE,cAAc,AACd,YAAe,AACf,qBAAqB,AAErB,kBAAmB,CACpB,AAED,qCAEE,gBAAgB,AAChB,mBAAoB,CACrB,AAED,uCAEE,cAAe,CAChB,AAED,yBACE,cAAc,AAEd,mBAAoB,CACrB,AAED,iBAEE,mBAAoB,CACrB,AAED,kCACE,aAAc,CACf,AAED,oDAEE,SAAU,CACX,AAED,wFAEE,cAAc,AACd,YAAa,CACd,AAED,0JAGE,cAAc,AACd,iBAAiB,AACjB,gBAAiB,CAClB,AAED,qCACE,QAAS,CACV,AAED,kBACE,cAAc,AACd,gBAAkB,AAElB,eAAgB,CACjB,AAcD,kCACE,gCAAgC,AAChC,gBAAgB,AAChB,6BAA6B,AAC7B,QAAS,CACV,AAED,oEAEE,aAAc,CACf,AAED,4LASE,aAAc,CACf,AAED,+DAEE,gBAAiB,CAClB,AAED,oCACE,gBAAgB,AAChB,eAAe,AACf,eAAgB,CACjB,AAED,mCACE,SAAS,AACT,SAAS,AACT,SAAU,CACX,AAED,+BACE,aAAc,CACf,AAED,0DAEE,YAAa,CACd","file":"search-google-5.0.css"}
\ No newline at end of file
{"version":3,"sources":["../scss/search-google.scss"],"names":[],"mappings":"AASA,sFAGE,YAAa,CACd,AAED,uFAGE,kBAAoB,CACrB,AAED,4DAEE,SAAU,CACX,AAED,sBAIE,oBAAoB,AACpB,iBAAkB,CAEnB,AAED,iDAPE,6BAA6B,AAC7B,SAAS,AAGT,SAAU,CAQX,AAED,wCACE,aAAa,AACb,oBAAoB,AACpB,kBAAkB,AAClB,SAAU,CACX,AAED,6BACE,SAAS,AAET,qBAAqB,AACrB,SAAU,CACX,AAED,sBAGE,kBAAkB,AAClB,SAAS,AACT,SAAU,CACX,AAED,gCACE,SAAS,AAET,sBAAsB,AACtB,aAAc,CACf,AAED,2BACE,cAAe,CAChB,AAED,4EAGE,cAAc,AACd,YAAe,AAGf,mBAAmB,AAFnB,oBAAqB,CAGtB,AAED,qCAEE,gBAAgB,AAChB,mBAAoB,CACrB,AAED,uCAEE,cAAe,CAChB,AAED,yBACE,cAAc,AAEd,mBAAoB,CACrB,AAED,iBAEE,mBAAoB,CACrB,AAED,kCACE,aAAc,CACf,AAED,oDAEE,SAAU,CACX,AAED,wFAEE,cAAc,AACd,YAAa,CACd,AAED,0JAGE,cAAc,AACd,iBAAiB,AACjB,gBAAiB,CAClB,AAED,qCACE,QAAS,CACV,AAED,kBACE,cAAc,AAGd,gBAAgB,AAFhB,eAAkB,CAGnB,AAcD,kCACE,gCAAgC,AAChC,gBAAgB,AAChB,6BAA6B,AAC7B,QAAS,CACV,AAED,oEAEE,aAAc,CACf,AAED,4LASE,aAAc,CACf,AAED,+DAEE,gBAAiB,CAClB,AAED,oCACE,gBAAgB,AAChB,eAAe,AACf,eAAgB,CACjB,AAED,mCACE,SAAS,AACT,SAAS,AACT,SAAU,CACX,AAED,+BACE,aAAc,CACf,AAED,0DAEE,YAAa,CACd","file":"search-google-5.0.css"}
\ No newline at end of file
.gsc-control-cse,.gsc-control-cse .gsc-table-result{font-family:inherit;font-size:inherit}.gsc-thumbnail-inside{padding-left:0;padding-right:0}.gsc-control-cse .gs-snippet{color:inherit}.gsc-thumbnail .gs-image-box{padding-right:.5em}.gsc-url-top{font-size:80%;padding-left:0;padding-right:0}.gsc-control-cse{padding:0}.gsc-webResult .gsc-result{border:0;padding:.75em 0}.gsc-result .gs-title{height:1.662em}.gsc-result.gsc-webResult:hover{border:none}.gs-result .gs-title,.gs-result .gs-title *{color:#d00000;text-decoration:none}.gs-result .gs-visibleUrl,.gs-result .gsc-url-top,.gs-result a.gs-visibleUrl{color:#554721}.gsc-result-info{font-style:italic;margin:0 0 10px;color:#5b5b5a}.gsc-results .gsc-cursor-box{border-top:1px solid #eae9e6;padding:1em 0 0;margin-top:1em;font-family:Gotham SSm A,Gotham SSm B,Verdana,sans-serif;font-weight:400;font-style:normal}.gsc-results .gsc-cursor-box .gsc-cursor-page{border:1px solid #eae9e6;padding:2px 8px;margin-bottom:1em;min-width:2.2em;display:inline-block;text-align:center;text-decoration:none;color:#d00000}.gsc-results .gsc-cursor-box .gsc-cursor-current-page{font-weight:400;color:#5b5b5a;border:0}.gcsc-branding{margin-bottom:1.3333em;display:none}td.gcsc-branding-text{font-style:italic;width:auto}td.gcsc-branding-text div.gcsc-branding-text{text-align:left;color:#5b5b5a}td.gcsc-branding-text-name{width:100%}.gs-promotion-image-box img.gs-promotion-image,.gs-web-image-box img.gs-image{max-width:100%;max-height:none}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlYXJjaC1nb29nbGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFpQixvREFBb0Qsb0JBQW9CLGlCQUFpQixDQUFDLHNCQUFzQixlQUFlLGVBQWUsQ0FBQyw2QkFBNkIsYUFBYSxDQUFDLDZCQUE2QixrQkFBa0IsQ0FBQyxhQUFhLGNBQWMsZUFBZSxlQUFlLENBQUMsaUJBQWlCLFNBQVMsQ0FBQywyQkFBMkIsU0FBUyxlQUFlLENBQUMsc0JBQXNCLGNBQWMsQ0FBQyxnQ0FBZ0MsV0FBVyxDQUFDLDRDQUE0QyxjQUFjLG9CQUFvQixDQUFDLDZFQUE2RSxhQUFhLENBQUMsaUJBQWlCLGtCQUFrQixnQkFBZ0IsYUFBYSxDQUFDLDZCQUE2Qiw2QkFBNkIsZ0JBQWdCLGVBQWUseURBQTZELGdCQUFnQixpQkFBaUIsQ0FBQyw4Q0FBOEMseUJBQXlCLGdCQUFnQixrQkFBa0IsZ0JBQWdCLHFCQUFxQixrQkFBa0IscUJBQXFCLGFBQWEsQ0FBQyxzREFBc0QsZ0JBQWdCLGNBQWMsUUFBUSxDQUFDLGVBQWUsdUJBQXVCLFlBQVksQ0FBQyxzQkFBc0Isa0JBQWtCLFVBQVUsQ0FBQyw2Q0FBNkMsZ0JBQWdCLGFBQWEsQ0FBQywyQkFBMkIsVUFBVSxDQUFDLDhFQUE4RSxlQUF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control-cse .gsc-table-result{font-family:inherit;font-size:inherit}.gsc-thumbnail-inside{padding-left:0;padding-right:0}.gsc-control-cse .gs-snippet{color:inherit}.gsc-thumbnail .gs-image-box{padding-right:.5em}.gsc-url-top{font-size:80%;padding-left:0;padding-right:0}.gsc-control-cse{padding:0}.gsc-webResult .gsc-result{border:0;padding:.75em 0}.gsc-result .gs-title{height:1.662em}.gsc-result.gsc-webResult:hover{border:none}.gs-result .gs-title,.gs-result .gs-title *{color:#d00000;text-decoration:none}.gs-result .gs-visibleUrl,.gs-result .gsc-url-top,.gs-result a.gs-visibleUrl{color:#554721}.gsc-result-info{color:#5b5b5a;font-style:italic;margin:0 0 10px}.gsc-results .gsc-cursor-box{border-top:1px solid #eae9e6;font-family:Gotham SSm A,Gotham SSm B,Verdana,sans-serif;font-style:normal;font-weight:400;margin-top:1em;padding:1em 0 0}.gsc-results .gsc-cursor-box .gsc-cursor-page{border:1px solid #eae9e6;color:#d00000;display:inline-block;margin-bottom:1em;min-width:2.2em;padding:2px 8px;text-align:center;text-decoration:none}.gsc-results .gsc-cursor-box .gsc-cursor-current-page{border:0;color:#5b5b5a;font-weight:400}.gcsc-branding{display:none;margin-bottom:1.3333em}td.gcsc-branding-text{font-style:italic;width:auto}td.gcsc-branding-text div.gcsc-branding-text{color:#5b5b5a;text-align:left}td.gcsc-branding-text-name{width:100%}.gs-promotion-image-box img.gs-promotion-image,.gs-web-image-box img.gs-image{max-height:none;max-width:100%}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlYXJjaC1nb29nbGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFpQixvREFBb0Qsb0JBQW9CLGlCQUFpQixDQUFDLHNCQUFzQixlQUFlLGVBQWUsQ0FBQyw2QkFBNkIsYUFBYSxDQUFDLDZCQUE2QixrQkFBa0IsQ0FBQyxhQUFhLGNBQWMsZUFBZSxlQUFlLENBQUMsaUJBQWlCLFNBQ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duOmNlbnRlcjt0ZXh0LWRlY29yYXRpb246bm9uZTtjb2xvcjojZDAwMDAwfS5nc2MtcmVzdWx0cyAuZ3NjLWN1cnNvci1ib3ggLmdzYy1jdXJzb3ItY3VycmVudC1wYWdle2ZvbnQtd2VpZ2h0OjQwMDtjb2xvcjojNWI1YjVhO2JvcmRlcjowfS5nY3NjLWJyYW5kaW5ne21hcmdpbi1ib3R0b206MS4zMzMzZW07ZGlzcGxheTpub25lfXRkLmdjc2MtYnJhbmRpbmctdGV4dHtmb250LXN0eWxlOml0YWxpYzt3aWR0aDphdXRvfXRkLmdjc2MtYnJhbmRpbmctdGV4dCBkaXYuZ2NzYy1icmFuZGluZy10ZXh0e3RleHQtYWxpZ246bGVmdDtjb2xvcjojNWI1YjVhfXRkLmdjc2MtYnJhbmRpbmctdGV4dC1uYW1le3dpZHRoOjEwMCV9LmdzLXByb21vdGlvbi1pbWFnZS1ib3ggaW1nLmdzLXByb21vdGlvbi1pbWFnZSwuZ3Mtd2ViLWltYWdlLWJveCBpbWcuZ3MtaW1hZ2V7bWF4LXdpZHRoOjEwMCU7bWF4LWhlaWdodDpub25lfSJdfQ== */
\ No newline at end of file
This diff is collapsed.
......@@ -3,25 +3,13 @@ define(['jquery', 'analytics'], function ($, analytics) {
// Service server (defaults to //directory.unl.edu)
var directoryServer = null;
var unlContext = '015236299699564929946:nk1siew10ie';
var transitionDelay = 400;
var inputSel = '#search_q';
var formSel = '#searchform form';
var resultSel = '.search-results';
var googleSel = '.google-results';
var evtStateChange = 'statechange';
var wrapperMain = '#search_wrapper';
var wrapperWeb = '#search_results';
var wrapperDir = '#directory_results';
var dirPeopleResults = 'ppl_results';
var dirDeptResults = 'dept_results';
var unlResults = 'unl_results';
var localResults = 'local_results';
window.pf_getUID = function() {
return true;
......@@ -77,8 +65,14 @@ define(['jquery', 'analytics'], function ($, analytics) {
if (!$showRes.length) {
$(container).html('Sorry, no results could be found.');
// if no people results show dept results
if (type === 'people') {
$('.dept-results-tab').first().click();
var dirTab = document.getElementsByClassName('dept-results-tab')[0];
if (dirTab) {
dirTab.click();
dirTab.blur();
}
}
}
......@@ -139,7 +133,6 @@ define(['jquery', 'analytics'], function ($, analytics) {
var query = '';
// CustomSearchControl instances and config
var activeSearch; // this is the search that is currently shown
var unlGoogleSearch;
var localGoogleSearch;
var directorySearch;
......@@ -176,7 +169,11 @@ define(['jquery', 'analytics'], function ($, analytics) {
setTimeout(function() {
if (!searchToggleLock && localGoogleSearch && control == localGoogleSearch.control && $('.gs-no-results-result', $root).length) {
$root.closest('.results-group').find('.result-tab li:last-child').click();
var allUNLTab = document.getElementsByClassName('all-unl-tab')[0];
if (allUNLTab) {
allUNLTab.click();
allUNLTab.blur();
}
return;
}
}, 1000);
......@@ -189,20 +186,24 @@ define(['jquery', 'analytics'], function ($, analytics) {
trackQuery(q);
}
try {
activeSearch.execute(q);
unlGoogleSearch.execute(q);
localGoogleSearch.execute(q);
} catch (e) {
queryComplete(activeSearch.control);
queryComplete(unlGoogleSearch.control);
}
directorySearch.execute(q);
$(wrapperMain).fadeIn();
};
var fullStop = function() {
//activeSearch.cancelSearch(): // TODO: implement this
unlGoogleSearch.cancelSearch();
localGoogleSearch.cancelSearch();
directorySearch.cancelSearch();
$(wrapperMain).fadeOut();
setTimeout(function() {
activeSearch.control.clearAllResults();
unlGoogleSearch.clearAllResults();
localGoogleSearch.clearAllResults();
directorySearch.clearAllResults();
}, transitionDelay);
};
......@@ -219,24 +220,6 @@ define(['jquery', 'analytics'], function ($, analytics) {
// Setup DOM on ready
$(function() {
var $q = $(inputSel),
resSel = '.results-group',
tabsSel = '.result-tab',
selCls = 'selected',
stateClsPfx = 'state-',
$resTabs = $('.result-tab'),
tabStateChange = function(e, state, prevState) {
var $tab = $(this).find(tabsSel);
e.stopPropagation();
$tab.removeClass(stateClsPfx + prevState);
$tab.addClass(stateClsPfx + state);
$tab.children().removeClass(selCls).eq(state).addClass(selCls);
},
googleOrigin = /^https?:\/\/.*\.google\.com$/,
isValidOrigin = function(origin) {
......@@ -282,7 +265,6 @@ define(['jquery', 'analytics'], function ($, analytics) {
unlGoogleSearch = new GoogleSearcher(searchElement, $('#unl_results'));
unlGoogleSearch.setSearchStartingCallback(queryStart);
unlGoogleSearch.setSearchCompleteCallback(queryComplete);
activeSearch = unlGoogleSearch;
if (localContext) {
var render_attrs_local = {
......@@ -299,40 +281,14 @@ define(['jquery', 'analytics'], function ($, analytics) {
localGoogleSearch = new GoogleSearcher(localSearchElement, $('#local_results'));
localGoogleSearch.setSearchStartingCallback(queryStart);
localGoogleSearch.setSearchCompleteCallback(queryComplete);
activeSearch = localGoogleSearch;
}
// a11y patch Google search box
$('form.gsc-search-box').remove();
// setup the tab-like result filters
$('li:first-child', $resTabs).addClass(selCls);
$($resTabs).on('click', 'li', function(e) {
e.preventDefault();
var i = $(this).index(),
$par = $(this).parents(resSel);
if ($par.is(wrapperDir)) {
directorySearch.changeViewState(i);
} else if ($par.is(wrapperWeb)) {
searchToggleLock = true;
$(activeSearch.control.root).closest(googleSel).trigger(evtStateChange, [i, 0 + !i]);
if (i === 0) {
activeSearch = localGoogleSearch;
} else {
activeSearch = unlGoogleSearch;
}
activeSearch.execute(query);
}
});
$(resSel).on(evtStateChange, tabStateChange);
// listen for the submit event
$(formSel).submit(function(e) {
e.preventDefault();
var q = $.trim($q.val());
passiveQuery(q);
});
......@@ -345,7 +301,6 @@ define(['jquery', 'analytics'], function ($, analytics) {
// listen for message from parent frames
$(window).on('message', function(e) {
var oEvent = e.originalEvent, q;
if (!isValidOrigin(oEvent.origin)) {
return;
}
......@@ -372,13 +327,15 @@ define(['jquery', 'analytics'], function ($, analytics) {
passiveQuery(q, false);
});
if (window.parent) {
// trigger iframe search close from
if (window.parent && window.self !== window.top) {
$(document).on('keydown', function(e) {
if (e.keyCode === 27) {
window.parent.postMessage('wdn.search.close', "*");
}
});
}
});
}
};
......
define(["jquery","analytics"],function(a,b){"use strict";var c=null,d=400,e="#search_q",f="#searchform form",g=".google-results",h="statechange",i="#search_wrapper",j="#search_results",k="#directory_results",l="ppl_results",m="dept_results";window.pf_getUID=function(){return!0};var n=function(){this.storage={}};n.prototype.get=function(a){return this.storage[a]||void 0},n.prototype.save=function(a,b){return this.storage[a]=b,this};var o=function(a,b,c){this.peopleContainer="#"+b,this.deptContainer="#"+c,this._server=a||"https://directory.unl.edu",this._cache=new n,this._searchCanceled=!1};o.prototype._render=function(b){this._searchCanceled||(a(this.peopleContainer).html(b),this._renderState("people",this.peopleContainer),a(this.deptContainer).html(b),this._renderState("dept",this.deptContainer))},o.prototype._renderState=function(b,c){var d,e,f=a(".results",a(c)),g=".departments";f.length&&("people"===b?(d=f.not(g),e=f.filter(g)):(d=f.filter(g),e=f.not(g)),d.length||(a(c).html("Sorry, no results could be found."),"people"===b&&a(".dept-results-tab").first().click()),e.hide())},o.prototype.cancelSearch=function(){this._searchCanceled=!0,this._xhr&&this._xhr.abort()},o.prototype.execute=function(b){var c=this._cache.get(b),d=this;this._searchCanceled=!1,this._xhr&&this._xhr.abort(),c?this._render(c):this._xhr=a.get(this._server+"/service.php?q="+encodeURIComponent(b),function(a){d._cache.save(b,a),d._render(a)})},o.prototype.clearAllResults=function(){a(this.peopleContainer).empty(),a(this.deptContainer).empty()};var p=function(a,b){this.control=a,this.control.root=b};return p.prototype.setSearchCompleteCallback=function(a){this.complete_callback=a},p.prototype.setSearchStartingCallback=function(a){this.starting_callback=a},p.prototype.execute=function(a){this.starting_callback(this.control,null,a),this.control.execute(a),this.complete_callback(this.control)},{initialize:function(n,q){var r,s,t,u,v="",w=!1,x=function(a){var c=window.location,d=c.search.replace(/(?:(\?)|&)q=[^&]*(?:&|$)/,"$1"),e=[c.pathname,d||"?",d&&"?"!=d?"&":"","q=",encodeURIComponent(a)].join("");b.callTrackPageview(e),window.history.pushState&&window.history.pushState({query:a},"",e)},y=function(b){var c=a(b.root);a("img.gs-image",c).each(function(){this.alt||(this.alt=a(this).closest(".gsc-table-result").find(".gs-title").first().text())}),a("img.gcsc-branding-img-noclear",c).attr("alt","Google™"),setTimeout(function(){if(!w&&t&&b==t.control&&a(".gs-no-results-result",c).length)return void c.closest(".results-group").find(".result-tab li:last-child").click()},1e3),w=!1},z=function(b,c){!1!==c&&x(b);try{r.execute(b)}catch(d){y(r.control)}u.execute(b),a(i).fadeIn()},A=function(){u.cancelSearch(),a(i).fadeOut(),setTimeout(function(){r.control.clearAllResults(),u.clearAllResults()},d)},B=function(a,b,c){c!==v&&(x(c),u.execute(c))};u=new o(c,l,m),a(function(){var b=a(e),c=".results-group",d=".result-tab",i="selected",l="state-",m=a(".result-tab"),o=function(b,c,e){var f=a(this).find(d);b.stopPropagation(),f.removeClass(l+e),f.addClass(l+c),f.children().removeClass(i).eq(c).addClass(i)},x=/^https?:\/\/.*\.google\.com$/,C=function(a){return!x.test(a)&&(a!=location.origin&&!/^chrome:/.test(a))},D=function(a,c){v!==a&&(v=a,b.val(a),a?z(a,c):A())},E={div:"unl_results",tag:"searchresults-only",attributes:{enableImageSearch:!1}};google.search.cse.element.render(E);var F=google.search.cse.element.getAllElements()["searchresults-only0"];if(window.googleSearchElement=F,s=new p(F,a("#unl_results")),s.setSearchStartingCallback(B),s.setSearchCompleteCallback(y),r=s,q){var G={div:"local_results",tag:"searchresults-only",attributes:{enableImageSearch:!1,as_sitesearch:q}};google.search.cse.element.render(G);var H=google.search.cse.element.getAllElements()["searchresults-only1"];window.localGoogleSearchElement=F,t=new p(H,a("#local_results")),t.setSearchStartingCallback(B),t.setSearchCompleteCallback(y),r=t}a("form.gsc-search-box").remove(),a("li:first-child",m).addClass(i),a(m).on("click","li",function(b){b.preventDefault();var d=a(this).index(),e=a(this).parents(c);e.is(k)?u.changeViewState(d):e.is(j)&&(w=!0,a(r.control.root).closest(g).trigger(h,[d,0+!d]),r=0===d?t:s,r.execute(v))}),a(c).on(h,o),a(f).submit(function(c){c.preventDefault();var d=a.trim(b.val());D(d)}),n&&D(n,!1),a(window).on("message",function(b){var c,d=b.originalEvent;C(d.origin)&&"string"==typeof d.data&&(c=a.trim(d.data),D(c))}),a(window).on("popstate",function(a){var b=a.originalEvent,c=n||"";b.state&&(c=b.state.query||""),D(c,!1)}),window.parent&&a(document).on("keydown",function(a){27===a.keyCode&&window.parent.postMessage("wdn.search.close","*")})})}}});
define(["jquery","analytics"],function(a,b){"use strict";var c=null,d=400,e="#search_q",f="#searchform form",g="#search_wrapper",h="ppl_results",i="dept_results";window.pf_getUID=function(){return!0};var j=function(){this.storage={}};j.prototype.get=function(a){return this.storage[a]||void 0},j.prototype.save=function(a,b){return this.storage[a]=b,this};var k=function(a,b,c){this.peopleContainer="#"+b,this.deptContainer="#"+c,this._server=a||"https://directory.unl.edu",this._cache=new j,this._searchCanceled=!1};k.prototype._render=function(b){this._searchCanceled||(a(this.peopleContainer).html(b),this._renderState("people",this.peopleContainer),a(this.deptContainer).html(b),this._renderState("dept",this.deptContainer))},k.prototype._renderState=function(b,c){var d,e,f=a(".results",a(c)),g=".departments";if(f.length){if("people"===b?(d=f.not(g),e=f.filter(g)):(d=f.filter(g),e=f.not(g)),!d.length&&(a(c).html("Sorry, no results could be found."),"people"===b)){var h=document.getElementsByClassName("dept-results-tab")[0];h&&(h.click(),h.blur())}e.hide()}},k.prototype.cancelSearch=function(){this._searchCanceled=!0,this._xhr&&this._xhr.abort()},k.prototype.execute=function(b){var c=this._cache.get(b),d=this;this._searchCanceled=!1,this._xhr&&this._xhr.abort(),c?this._render(c):this._xhr=a.get(this._server+"/service.php?q="+encodeURIComponent(b),function(a){d._cache.save(b,a),d._render(a)})},k.prototype.clearAllResults=function(){a(this.peopleContainer).empty(),a(this.deptContainer).empty()};var l=function(a,b){this.control=a,this.control.root=b};return l.prototype.setSearchCompleteCallback=function(a){this.complete_callback=a},l.prototype.setSearchStartingCallback=function(a){this.starting_callback=a},l.prototype.execute=function(a){this.starting_callback(this.control,null,a),this.control.execute(a),this.complete_callback(this.control)},{initialize:function(j,m){var n,o,p,q="",r=!1,s=function(a){var c=window.location,d=c.search.replace(/(?:(\?)|&)q=[^&]*(?:&|$)/,"$1"),e=[c.pathname,d||"?",d&&"?"!=d?"&":"","q=",encodeURIComponent(a)].join("");b.callTrackPageview(e),window.history.pushState&&window.history.pushState({query:a},"",e)},t=function(b){var c=a(b.root);a("img.gs-image",c).each(function(){this.alt||(this.alt=a(this).closest(".gsc-table-result").find(".gs-title").first().text())}),a("img.gcsc-branding-img-noclear",c).attr("alt","Google™"),setTimeout(function(){if(!r&&o&&b==o.control&&a(".gs-no-results-result",c).length){var d=document.getElementsByClassName("all-unl-tab")[0];return void(d&&(d.click(),d.blur()))}},1e3),r=!1},u=function(b,c){!1!==c&&s(b);try{n.execute(b),o.execute(b)}catch(d){t(n.control)}p.execute(b),a(g).fadeIn()},v=function(){n.cancelSearch(),o.cancelSearch(),p.cancelSearch(),a(g).fadeOut(),setTimeout(function(){n.clearAllResults(),o.clearAllResults(),p.clearAllResults()},d)},w=function(a,b,c){c!==q&&(s(c),p.execute(c))};p=new k(c,h,i),a(function(){var b=a(e),c=/^https?:\/\/.*\.google\.com$/,d=function(a){return!c.test(a)&&(a!=location.origin&&!/^chrome:/.test(a))},g=function(a,c){q!==a&&(q=a,b.val(a),a?u(a,c):v())},h={div:"unl_results",tag:"searchresults-only",attributes:{enableImageSearch:!1}};google.search.cse.element.render(h);var i=google.search.cse.element.getAllElements()["searchresults-only0"];if(window.googleSearchElement=i,n=new l(i,a("#unl_results")),n.setSearchStartingCallback(w),n.setSearchCompleteCallback(t),m){var k={div:"local_results",tag:"searchresults-only",attributes:{enableImageSearch:!1,as_sitesearch:m}};google.search.cse.element.render(k);var p=google.search.cse.element.getAllElements()["searchresults-only1"];window.localGoogleSearchElement=i,o=new l(p,a("#local_results")),o.setSearchStartingCallback(w),o.setSearchCompleteCallback(t)}a("form.gsc-search-box").remove(),a(f).submit(function(c){c.preventDefault();var d=a.trim(b.val());g(d)}),j&&g(j,!1),a(window).on("message",function(b){var c,e=b.originalEvent;d(e.origin)&&"string"==typeof e.data&&(c=a.trim(e.data),g(c))}),a(window).on("popstate",function(a){var b=a.originalEvent,c=j||"";b.state&&(c=b.state.query||""),g(c,!1)}),window.parent&&window.self!==window.top&&a(document).on("keydown",function(a){27===a.keyCode&&window.parent.postMessage("wdn.search.close","*")})})}}});
//# sourceMappingURL=search-tabs.min.js.map
\ No newline at end of file
......@@ -8,7 +8,7 @@
<h2>Web Results</h2>
<ul>
<li><a class="dcf-txt-md" href="#local-results-container">This Site</a></li>
<li><a class="dcf-txt-md" href="#unl-results-container">All of UNL</a></li>
<li><a class="dcf-txt-md all-unl-tab" href="#unl-results-container">All of UNL</a></li>
</ul>
<div id="local-results-container">
<?php if (isset($localTitle)): ?>
......@@ -40,7 +40,7 @@
<h2>Directory Results</h2>
<ul>
<li><a class="dcf-txt-md" href="#ppl_results">People</a></li>
<li><a class="dcf-txt-md" href="#dept_results" class="dept-results-tab">Departments</a></li>
<li><a class="dcf-txt-md dept-results-tab" href="#dept_results">Departments</a></li>
</ul>
<div id="ppl_results"></div>
<div id="dept_results"></div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment