1 /*******************************************************************************
\r
2 * Copyright (c) 2017 Kumar Rishabh and others.
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Apache License, Version 2.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.apache.org/licenses/LICENSE-2.0
\r
8 *******************************************************************************/
\r
10 $(document).ready( function() {
\r
11 $('#Search').click(function() {
\r
12 var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
\r
13 window.location.href = '/search_projects?tags=' + tags;
\r