Solved! Go to Solution.
View solution in original post
Using API 3.8 causes some bugs. e.g. at dojo.require("dijit.dijit");