Fix Calendar.setup: Nothing to setup error

  • Comments:View comments
Rate this item
(2 votes)

This error is occurrs in some installations of Joomla 2.5 and may be Joomla 3 also.

It can be fixed like the following...

Edit the file: libraries/joomla/html/html.php

Go to the line ~879 and find this line:

'window.addEvent(\'domready\', function() {Calendar.setup({

And replace it with this line:

'window.addEvent(\'load\', function() {Calendar.setup({

Save the file and test.

Read 8064 times