My controller Save in

action name:save

in phtml code:

  url: '<?php echo Mage::helper("adminhtml")->getUrl('management/adminhtml/orderattachments/save')?>'

this my magento url:

in network XHR 404 error accours. what is wrong in url?


Change url

<?php echo Mage::helper("adminhtml")->getUrl('adminhtml/sales_order/view/orderattachments/save')?>
  • is it works?.... – Amit Bera Jan 1 '15 at 13:22
  • Please accept your answer and it will complete the thread – brentwpeterson Jan 1 '15 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.