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 $(".button-collapse").sideNav();
\r
12 $('#Search').click(function() {
\r
13 var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
\r
14 window.location.href = '/search_projects?tags=' + tags;
\r
17 $('#SearchSpan').click(function(){
\r
18 var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
\r
19 window.location.href = '/search_projects?tags=' + tags;
\r
22 $('div.form-group-custom i.material-icons').click(function(e){
\r
23 var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
\r
24 window.location.href = '/search_projects?tags=' + tags;
\r