|
|
@@ -121,6 +121,10 @@ var P5UI__TableAjaxSelectedInfo = createReactClass({
|
|
|
// this.props.store.dispatch( this.props.actions.unselectAll( this.props.namespace ) )
|
|
|
this.props.onSelectAllMatching()
|
|
|
},
|
|
|
+ handleSetViewFilterViewMatching: function (event) {
|
|
|
+ DBG && console.log('DBG::P5UI__TableAjaxSelectedInfo::handleSetViewFilterViewMatching (ns:'+this.props.namespace+')');
|
|
|
+ this.props.onSetFilterSelected();
|
|
|
+ },
|
|
|
handleToggle: function () {
|
|
|
DBG1 && console.log('DBG::P5UI__TableAjaxSelectedInfo::handleToggle (ns:' + this.props.namespace + ')', { open: this.state.open });
|
|
|
this.setState({ open: !this.state.open }, this.state.open ? this._unbindCloseDropdownActions : this._bindCloseDropdownActions)
|
|
|
@@ -260,7 +264,10 @@ var P5UI__TableAjaxSelectedInfo = createReactClass({
|
|
|
|
|
|
h('div', { className: "btn-group" + (this.state.open ? " open" : "") }, [
|
|
|
// h('a', { className: "btn btn-xs btn-default" }, "Wybrano " + this.state.totalSelected),
|
|
|
- h('button', { className: "btn btn-xs btn-default" }, "Wybrano " + this.state.totalSelected),
|
|
|
+ h('button', {
|
|
|
+ className: "btn btn-xs btn-default",
|
|
|
+ onClick: this.handleSetViewFilterViewMatching,
|
|
|
+ }, "Wybrano " + this.state.totalSelected),
|
|
|
this.renderClearBtn(),
|
|
|
this.renderToolsBtn(),
|
|
|
this.renderToolsMenu(),
|