Store state of history filter

This commit is contained in:
Mark McDowall 2014-02-26 08:58:42 -08:00
parent 274e2eac86
commit 4478f2d723
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ define(
onShow: function () {
this.history.show(new LoadingView());
this.collection.fetch();
//this.collection.fetch();
this._showToolbar();
},
@ -109,7 +109,7 @@ define(
_showToolbar: function () {
var filterOptions = {
type : 'radio',
storeState : false,
storeState : true,
menuKey : 'history.filterMode',
defaultAction : 'all',
items :

View File

@ -48,7 +48,7 @@ define(
number: function (input) {
if (!input) {
return '';
return '0';
}
return input.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');