From: Daniel Seifert Date: Tue, 25 Feb 2020 09:11:32 +0100 --- .../Application/views/admin/tpl/popups/article_attribute.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Application/views/admin/tpl/popups/article_attribute.tpl b/source/Application/views/admin/tpl/popups/article_attribute.tpl index 30633272d..4563c3649 100644 --- a/source/Application/views/admin/tpl/popups/article_attribute.tpl +++ b/source/Application/views/admin/tpl/popups/article_attribute.tpl @@ -49,6 +49,7 @@ $('_attrname').innerHTML = oParam._oData._0; $('attr_value').value = oParam._oData._2; $('attr_oxid').value = oParam._oData._3; + $('o2attr_oxid').value = oParam._oData._1; [{*** d3 completed ***}] $D.setStyle( $('arrt_conf'), 'visibility', '' ); } else { $D.setStyle( $('arrt_conf'), 'visibility', 'hidden' ); @@ -73,7 +74,7 @@ failure: YAHOO.oxid.container2.onFailure, scope: YAHOO.oxid.container2 }; - YAHOO.util.Connect.asyncRequest( 'GET', '[{$oViewConf->getAjaxLink()}]&cmpid=container2&container=article_attribute&fnc=saveAttributeValue&oxid=[{$oxid}]&attr_value=' + encodeURIComponent( $('attr_value').value ) + '&attr_oxid=' + encodeURIComponent( $('attr_oxid').value ), callback ); + YAHOO.util.Connect.asyncRequest( 'GET', '[{$oViewConf->getAjaxLink()}]&cmpid=container2&container=article_attribute&fnc=saveAttributeValue&oxid=[{$oxid}]&attr_value=' + encodeURIComponent( $('attr_value').value ) + '&attr_oxid=' + encodeURIComponent( $('attr_oxid').value ) + '&o2attr_oxid=' + encodeURIComponent( $('o2attr_oxid').value ), callback ); [{*** d3 completed***}] } // subscribint event listeners on buttons @@ -101,6 +102,7 @@

[{$attr_name}]:

+ [{*** d3 completed ***}]