Buttons on XPage work fine on local database but not on server database

Hi,I have a problem with working on buttons on XPages.

The button works fine in the local database. But when it is created in server database, it does nothing when clicked from browser.

Is something to do with server set up?

Please help.