Fix onLoad on wrong element.
parent
35b33263ea
commit
758df29b23
|
@ -317,6 +317,7 @@ export default React.createClass({
|
||||||
src={safeWidgetUrl}
|
src={safeWidgetUrl}
|
||||||
allowFullScreen="true"
|
allowFullScreen="true"
|
||||||
sandbox={sandboxFlags}
|
sandbox={sandboxFlags}
|
||||||
|
onLoad={this._onLoaded}
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -358,7 +359,6 @@ export default React.createClass({
|
||||||
alt={_t('Edit')}
|
alt={_t('Edit')}
|
||||||
title={_t('Edit')}
|
title={_t('Edit')}
|
||||||
onClick={this._onEditClick}
|
onClick={this._onEditClick}
|
||||||
onLoad={this._onLoaded}
|
|
||||||
/> }
|
/> }
|
||||||
|
|
||||||
{ /* Delete widget */ }
|
{ /* Delete widget */ }
|
||||||
|
|
Loading…
Reference in New Issue