diff --git a/Resources/config.xml b/Resources/config.xml index 4f99523b..a03af117 100755 --- a/Resources/config.xml +++ b/Resources/config.xml @@ -65,10 +65,10 @@ Shopware.Msg.createGrowlMessage('success', value.responseText) }, failure: function (response) { - var value = Ext.decode(response.responseText); if (response.status === 404) { Shopware.Msg.createGrowlMessage('Plugin Manager', 'Please activate plugin before testing.'); } else { + var value = Ext.decode(response.responseText); Shopware.Msg.createGrowlMessage('failure', value.responseText) } }