Fix bug #933: Ajax error
Caused by commit 7e53f98
Merge pull request #1031 from marcosgdf/bug-933

Fix bug #933: Ajax error