yalmac / easy-appointments

Automatically exported from code.google.com/p/easy-appointments
0 stars 0 forks source link

cannot login as admin #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using latest version of WAMP
2. Install all pre requisites
3. Attempt admin login

What is the expected output? What do you see instead?
Redirects to login screen with no error message..

What version of the product are you using? On what operating system?
Windows 7 running WAMP and all prereqs

Please provide any additional information below.

In firefox debug console, first line after clicking Login says

ReferenceError: event is not defined

Original issue reported on code.google.com by chamoun....@gmail.com on 3 Jan 2014 at 9:23

GoogleCodeExporter commented 9 years ago
Hello! Can you please tell the me the exact code line that this error happened?

Original comment by alextselegidis@gmail.com on 3 Jan 2014 at 9:30

GoogleCodeExporter commented 9 years ago
It says line 79 in login.php -        event.preventDefault(); 

Original comment by chamoun....@gmail.com on 3 Jan 2014 at 9:39

GoogleCodeExporter commented 9 years ago
This bug appears only on Firefox. Thank you for submitting the issue.

Original comment by alextselegidis@gmail.com on 3 Jan 2014 at 10:01

GoogleCodeExporter commented 9 years ago
Fixed it.. 

need to change to the following in login.php

      $('#login-form').submit(function(e) {
                e.preventDefault(); 

Original comment by chamoun....@gmail.com on 3 Jan 2014 at 10:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r154.

Original comment by alextselegidis@gmail.com on 3 Jan 2014 at 10:26

GoogleCodeExporter commented 9 years ago
Yes I just did that! Thank you :)

There are some other places in the code where there are similar issues so a new 
version will be added (v0.7.1) in the release plan so that E!A will work 
properly on Firefox. 

You will need to replace the files from the latest commit into your own copy 
(https://code.google.com/p/easy-appointments/source/detail?r=154). 

I will test the application for other possible issues with Firefox and tomorrow 
I will publish v0.7.1

Original comment by alextselegidis@gmail.com on 3 Jan 2014 at 10:29