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

View File

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