Store state of history filter
This commit is contained in:
parent
274e2eac86
commit
4478f2d723
|
@ -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 :
|
||||
|
|
|
@ -48,7 +48,7 @@ define(
|
|||
|
||||
number: function (input) {
|
||||
if (!input) {
|
||||
return '';
|
||||
return '0';
|
||||
}
|
||||
|
||||
return input.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
||||
|
|
Loading…
Reference in New Issue