magento 1.6 安装好后不能上传图片,解决办法 修改 js\mage\adminhtml\product.js 96行 if (!item.response.isJSON()) 一直判断不是Json 原因item.response中存在未转义的字符 '/' 替换为
item.response = item.response.replace(/\\/g,'\\\\');
if (!item.response.isJSON())
即可
magento 1.6 安装好后不能上传图片,解决办法 修改 js\mage\adminhtml\product.js 96行 if (!item.response.isJSON()) 一直判断不是Json 原因item.response中存在未转义的字符 '/' 替换为
item.response = item.response.replace(/\\/g,'\\\\');
if (!item.response.isJSON())
即可