Boss Posted October 2, 2007 Share Posted October 2, 2007 I just added an item to the calendar and after pressing the Save button was presented with this screen 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 More sharing options...
WHMCS CEO Matt Posted October 2, 2007 WHMCS CEO Share Posted October 2, 2007 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 More sharing options...
Boss Posted October 2, 2007 Author Share Posted October 2, 2007 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 More sharing options...
chick Posted October 3, 2007 Share Posted October 3, 2007 I've had this happen also, could it be IE? Link to comment Share on other sites More sharing options...
Boss Posted October 3, 2007 Author Share Posted October 3, 2007 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 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 More sharing options...
kcackler Posted October 4, 2007 Share Posted October 4, 2007 Matt - Perhaps this error for these guys is the same error that is causing me to get 2, 3, 4 entries when I use the calendar to do anything while using firefox (Check out past support tickets if you need a reminder) Kevin Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 4, 2007 WHMCS CEO Share Posted October 4, 2007 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 More sharing options...
Recommended Posts