remove the unnecessary set("selectedChild",next) and distinguish the return value or promise by dojo.when
remove the unnecessary set("selectedChild",next) and distinguish the return value or promise by dojo.when

ibm-js/dapp,ibm-js/dapp