From 6cd367048d6524172b407fcc1284c7f84bd66777 Mon Sep 17 00:00:00 2001 From: Rob Court Date: Tue, 23 Jul 2019 14:39:33 +0100 Subject: [PATCH] id value fix --- components/interface/VFBTermInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/interface/VFBTermInfo.js b/components/interface/VFBTermInfo.js index 258d23675..5b77d99d7 100644 --- a/components/interface/VFBTermInfo.js +++ b/components/interface/VFBTermInfo.js @@ -683,7 +683,7 @@ export default class VFBTermInfoWidget extends React.Component { }); items = items.replace(',,', ',').replace('i=,', 'i='); try { - items = 'id=' + this.refs.termInfoRef.data.split('.')[0] + '&' + items; + items = 'id=' + this.refs.termInfoRef.state.termInfoId.replace('_meta','') + '&' + items; } catch (ignore) { } if (items != "i=") { parent.history.pushState({}, title, parent.location.pathname + "?" + items);