Merge "Added VNF_Catalogue Server"
[releng.git] / utils / test / vnfcatalogue / VNF_Catalogue / public / javascripts / global.js
1 /*******************************************************************************\r
2  * Copyright (c) 2017 Kumar Rishabh and others.\r
3  *\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
9 \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
14         return false;\r
15     });\r
16 });\r