poi-plugin-akashic-records
Advanced tools
Comparing version 5.0.1-beta.1 to 5.0.1-beta.2
{ | ||
"name": "poi-plugin-akashic-records", | ||
"version": "5.0.1-beta.1", | ||
"version": "5.0.1-beta.2", | ||
"description": "logbook plugin for poi", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,2 +13,6 @@ // Generated by CoffeeScript 1.9.3 | ||
AkashicRecordsCheckboxPanel = React.createClass({displayName: "AkashicRecordsCheckboxPanel", | ||
lastClick: -1, | ||
componentDidUpdate: function() { | ||
return this.lastClick = -1; | ||
}, | ||
handlePanelShow: function() { | ||
@@ -29,3 +33,6 @@ var show; | ||
handleClickConfigCheckbox: function(index) { | ||
return this.props.onConfigListSet(index); | ||
if (index !== this.lastClick) { | ||
this.props.onConfigListSet(index); | ||
return this.lastClick = index; | ||
} | ||
}, | ||
@@ -153,3 +160,3 @@ handleShowAmountSelect: function(eventKey, selectedKey) { | ||
"value": index, | ||
"onClick": this.handleClickConfigCheckbox.bind(this, index), | ||
"onChange": this.handleClickConfigCheckbox.bind(this, index), | ||
"checked": this.props.configListChecked.get(index), | ||
@@ -156,0 +163,0 @@ "style": { |
2560587
58898