Skip to content
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

Uncaught ReferenceError: Mage is not defined #95

Open
hgati opened this issue Jan 25, 2017 · 3 comments
Open

Uncaught ReferenceError: Mage is not defined #95

hgati opened this issue Jan 25, 2017 · 3 comments

Comments

@hgati
Copy link

hgati commented Jan 25, 2017

javascript error on admin screen.

snap1

@hgati
Copy link
Author

hgati commented Jan 25, 2017

I've solved.
http://magento.stackexchange.com/questions/105068/mage-cookies-clear-not-working

The function called Mage is not used anywhere in core Magento, probably that's why nobody noticed it was broken for 8 years.

  1. Fixed the function called Mage. - /js/cookies.js
    snap2

snap3

  1. Add the fuction mage into adminhtml layout
    snap5

@Ejilarasan
Copy link

2.Add the function mage into adminhtml layout.

Can you describe the exact file where to edit the step2?.

@hgati
Copy link
Author

hgati commented Mar 28, 2018

I wrote that code in my own custom module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants