fixed the redirections
Merge pull request #40 from fonsekaean/master

JavaScript error when saving a new dataobject