Browse Source

ui: don't record characters for search filter in browser histroy

pull/194/head
Jack Pearkes 11 years ago
parent
commit
d8d79fbe1a
  1. 8
      ui/javascripts/app/routes.js

8
ui/javascripts/app/routes.js

@ -5,6 +5,14 @@ App.BaseRoute = Ember.Route.extend({
rootKey: '',
condensedView: false,
// Don't record characters in browser history
// for the "search" query item (filter)
queryParams: {
filter: {
replace: true
}
},
getParentAndGrandparent: function(key) {
var parentKey = this.rootKey,
grandParentKey = this.rootKey,

Loading…
Cancel
Save