Please see this dojo ticket: http://bugs.dojotoolkit.org/ticket/13298 for the full description and patch.