-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added helper for admin button onclick actions #2784
Conversation
The new methods return javascript code, so they should be suffixed with Js instead of Html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
} | ||
|
||
$message = Mage::helper('core')->jsQuoteEscape($message); | ||
return "confirmSetLocation('{$message}', '{$url}')"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not same format as line 103 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've used the format as it was used before.
After creating a refund with HiPay, when we are going on the refund, we have: Probably due to: The error is auto fixed when HiPay send the notification: "Notification from Hipay: status: code-125 Message: Refunded amount: 17.48".
If I'm not wrong, there is only one usage of |
Description (*)
Added helper methods for admin buttons onclick code for ...
... to not add escaping slashes every time ... and fixed some whitespaces ...
Contribution checklist (*)