Git commits in Moodle 2.1.3 by Jamie Pratt

commit 2df5a982993351e56ded0a6ed29a153d89dc5b72
Author: Jamie Pratt <me@jamiep.org>
Date:   Wed, 21 Sep 2011 14:15:23 +0800
Tag:    v2.1.3

MDL-27919 Fixed a regression where I was seeing that after choosing "Overwrite" in a filemanager form component when subsequently trying to add another file the file picker would then immediately close upon opening.

commit cb28940596c44a6411a9b8ab19655c84d553c8c1
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:57:09 +0800
Tag:    v2.1.3

MDL-27919 also adding a callback to the filepicker when a file is overwritten but a file with the same name. This is not necessary in most cases but is instant and some code may expect a call to the function whether the url and / or file name has changed or not so it can update itself when the file changes.

commit 44915324c80f26187dfc7abd1567c80f18699368
Author: Jamie Pratt <me@jamiep.org>
Date:   Sun, 18 Sep 2011 14:22:35 +0800
Tag:    v2.1.3

MDL-27919 Fixes 'undefined' message and similar problems when selecting a recent file, server file or when renaming a file being uploaded with the same name as a previous one.

commit 92939cd69a770cec6fd709a00df3334b491359de
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.1.3

MDL-28562 "automatic naming of file in convert_image not working" there is an obvious typo in the code causing the problem. The use of an equality check instead of the intended assignment.