diff options
Diffstat (limited to 'vnfcatalogue/VNF_Catalogue/public/javascripts/global.js')
-rw-r--r-- | vnfcatalogue/VNF_Catalogue/public/javascripts/global.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js b/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js index 73f16b6..3ae20d1 100644 --- a/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js +++ b/vnfcatalogue/VNF_Catalogue/public/javascripts/global.js @@ -8,9 +8,20 @@ *******************************************************************************/
$(document).ready( function() {
+ $(".button-collapse").sideNav();
$('#Search').click(function() {
var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
window.location.href = '/search_projects?tags=' + tags;
return false;
});
+ $('#SearchSpan').click(function(){
+ var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
+ window.location.href = '/search_projects?tags=' + tags;
+ return false;
+ });
+ $('div.form-group-custom i.material-icons').click(function(e){
+ var tags = $('#Tags').val().toLowerCase().split(/[ ,]+/);
+ window.location.href = '/search_projects?tags=' + tags;
+ return false;
+ });
});
|