git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_0@839
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
function resultExpandSearch() {
var top = findOrgDepth(globalOrgTree);
- if(getDepth() == top) return;
+
+ /* We don't want to expand the scope to Everywhere in Conifer, that's just confusing */
+ if(getDepth() == top || getDepth() - 1 == top) return;
unHideMe($('low_hits_expand_range'));
var par = $('low_hits_expand_link').parentNode;
var template = par.removeChild($('low_hits_expand_link'));