Jump to content

Adding entry to Calendar Error


Boss

Recommended Posts

I just added an item to the calendar and after pressing the Save button was presented with this screen

calender_adding_bug.jpg

and if you press OK this same screen is then presented again, so you press OK again and the same thing just keeps repeating, until you realise a Cancel might be better, then it stops and you find you have 3, 4, 5 entries of the same thing.

I just tried and repeatedly tried this action and it duplicated the error over and over, without fail.

Link to comment
Share on other sites

  • WHMCS CEO

Something you are doing is causing a page refresh by the looks of it. Click the save button wouldn't do that as that just submits the form but it must be something on the page after you've done a save.

 

Matt

Link to comment
Share on other sites

Something you are doing is causing a page refresh by the looks of it. Click the save button wouldn't do that as that just submits the form but it must be something on the page after you've done a save.

 

Matt

 

There is nothing on the page except the standard page as you have designed. The entry it's self is only plain text and about half dozen words in total.

Nor have I edit any Admin template, etc.

 

By all means login and check for yourself.

Link to comment
Share on other sites

I've had this happen also, could it be IE?

I don't know which browser it was, when I first got this error.

 

But IE reports this error

calender_adding_bug_IE.jpg

 

On doing a debug the problem is the calendar file.

The code at the very end (of the below quote) what is being highlighted as the problem.

<SCRIPT LANGUAGE="JavaScript">
window.opener.location.reload()
window.close()

Link to comment
Share on other sites

  • WHMCS CEO

I think that JavaScript code is probably the root cause of the issue. It used to be events were added via a popup window so looks like that is left over from it. I guess in some browsers it causes the page to refresh still thus adding a blank record by not posting the data. It's now been removed so hopefully that will correct the issue.

 

Matt

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated