blob: e8fea9ccf407a6cc68ee851fee09adcc3e3390d6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
// Contains functions used by more than one view
function showAll() {
var searchFrame = parent.parent.parent.parent.parent.HelpToolbarFrame.SearchFrame;
if (searchFrame.getSearchWord) {
searchFrame.location.replace("../scopeState.jsp?searchWord=" + searchFrame.getSearchWord() + "&workingSet=");
}
}
function rescope() {
var searchFrame = parent.parent.parent.parent.parent.HelpToolbarFrame.SearchFrame;
if (searchFrame.getSearchWord) {
searchFrame.openAdvanced();
}
}