Jump to content

Change Ctrl V key for preview button product page


doanthitoan1960

Recommended Posts

  • 1 month later...

+ 1 to getting this sorted asap

 

Quite surprised the UX team would allow standard input design pattens to be violated in the design of this page. Even more surprised that there is no option to disable this without getting into the code itself.

  • Like 1
Link to comment
Share on other sites

Try to go to /admin/themes/default/js/bundle/product and open form.js

and edit  line 947 to 

/** create keyboard event for save & go preview */
jwerty.key('ctrl+T', function(e) {
e.preventDefault();
var productFooter = $('.product-footer .preview');
send(productFooter.attr('data-redirect'), productFooter.attr('target'));
});

so T instead V. Think it needs change to some other file so that ctrl+T would work. AS for me it opens blank 

page but will check that some other time. At least you can use ctrl+V for paste. Try it out

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...