Bug 1352777 - Fix dropmarkers in JSON viewer not collapsing long string r=rickychien

MozReview-Commit-ID: BdixqPyi8x4

--HG--
extra : rebase_source : eea7c019e873f48dfb69fb0297d690919d75b9fd
This commit is contained in:
Matt R 2017-04-24 08:35:09 +01:00
parent 89613bd5c9
commit a0fbfb22de

View File

@ -42,7 +42,8 @@ define(function (require, exports, module) {
*/
shouldComponentUpdate: function (nextProps, nextState) {
return (this.props.value != nextProps.value) ||
(this.state !== nextState);
(this.state !== nextState) ||
(this.props.member.open != nextProps.member.open);
},
getCellClass: function (object, id) {