-
Notifications
You must be signed in to change notification settings - Fork 13
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
fixed datepicker position in admin for produc edit advanced pricing #28
fixed datepicker position in admin for produc edit advanced pricing #28
Conversation
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 believe there can be a better solution.
Let's have a call and find it together.
This one could be a more universal solution. But we have to be sure that this doesn't break other date picker fields. (($) => {
const show = $.datepicker._showDatepicker;
$.extend($.datepicker, {
_showDatepicker: (trigger) => {
console.log('DATEPICKER SHOW', {
trigger,
datepicker: $.datepicker.dpDiv
});
// Your awesome code here
return show(trigger);
}
});
})(jQuery); |
PR can be tested on https://scandipwapmrevprtest-dev.indvp.com/ |
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.
Please redo based on my comments to previous review.
@Elena-Evsa can you please recheck the pr? |
Related issue(s):
Problem:
In this PR: