Skip to content

Commit

Permalink
Bind to search-form class instead if id.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgieseke committed Jun 5, 2012
1 parent c7a4eba commit 0233ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view.dataset.search.js
Expand Up @@ -5,7 +5,7 @@ CKAN.View = CKAN.View || {};

my.DatasetSearchView = Backbone.View.extend({
events: {
'submit #search-form': 'onSearch'
'submit .search-form': 'onSearch'
},

initialize: function(options) {
Expand Down

0 comments on commit 0233ccf

Please sign in to comment.