Hi All,
I tried searching for a solution for this problem but haven't found anything at all anywhere.
If you try to log into any opencart 2.0.x.x admin area on an iPhone with safari, it appears you can't click the menu button to make the vertical menu slide out from the left. Nothing happens, I've tried it on opencarts demo site, same problem.
I am using an iPhone 4s with safari, but when i downloaded chrome it work fine.
I have also tried on an iPhone 6 with safari and get the same issue.
Does anybody have any bright ideas on how to fix this problem? It's like it just isn't recognizing the click event in the javascript.
Any help would be much appreciated!
Rich
That's not really an option. The menu being open all the time leaves the rest of the site unusable on a mobile device.
I can't believe nobody else has noticed this issue at all?
I may only on specfic devices who knows, but it's a pretty serious bug nontheless!
I can't believe nobody else has noticed this issue at all?
I may only on specfic devices who knows, but it's a pretty serious bug nontheless!
Find this line in admin/view/javascript/common.js
and replace this code with this
I hope this help all who want to activate the admin menu on iphone/safari
Code: Select all
$('#button-menu').on('click', function() {
Code: Select all
var ua = navigator.userAgent,
event = (ua.match(/iPhone/i)) ? "touchstart" : "click";
$('#button-menu').on(event, function() {
Who is online
Users browsing this forum: No registered users and 3 guests