Jump to content

Remove the wobble shaking information box


Recommended Posts

Hello all !

I've just downloaded prestashop to see how its progressing.

Installed fine no problems, but one thing that is really annoying me is the wobbling / shaking box.

 

I entered my password incorrectly and a box appeared, no problem with the box itself, but that shaking really does instantly make my blood boil.

 

I dont know if its used anywhere else in Prestashop but personally if I was on a site that did that every time it needed my attention i'd soon be off.

 

Please tell me it can be disabled

 

Thanks

Rufe

Link to comment
Share on other sites

You're lucky if that is the biggest concern you have :) But I agree it is extremely annoying. WP has it, so why not PS? Monkey see, monkey do. That is what happens when someone with zero user interface qualifications create them. Someone should stand behind that developer's monitor and shake it vigorously every time s/he makes a mistake.

 

Open /controllers/admin/AdminLoginController.php and comment out the shake effects plugin. Thus:

 

public function setMedia()
{
$this->addJquery();
$this->addCSS(_PS_CSS_DIR_.'login.css');
$this->addJS(_PS_JS_DIR_.'login.js');
$this->addJqueryUI('ui.widget');
//$this->addJqueryUI('effects.shake');
$this->addJqueryUI('effects.slide');
}

Link to comment
Share on other sites

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...