Git commits in Moodle 2.3.6 by Andrew Robert Nicols

commit 10c6db96fb8d1ca5e65568c2be749e477421ecf8
Author: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Date:   Thu, 14 Mar 2013 02:15:16 +0800
Tag:    v2.3.6

MDL-38356 JavaScript: Correct the test for currentform