MDL-32037: MDL-32037: After displaying error message filepicker could not send proper...
commitcbd6ad13e08d63cadd8084da8e84cd399d6e608e
authorMarina Glancy <marina@moodle.com>
Wed, 14 Mar 2012 04:24:36 +0000 (14 12:24 +0800)
committerMarina Glancy <marina@moodle.com>
Wed, 14 Mar 2012 05:16:17 +0000 (14 13:16 +0800)
treeb9ebdc971f5d486ca07387c90f73e530e0da6e34
parentc91704eddb0dca012ff3fd3f963a348ea09b09df
MDL-32037: MDL-32037: After displaying error message filepicker could not send proper request to server

We need to make sure that code executed on error does not create more requests and
especially does not create the same request that resulted with error. So now by default
filepicker will clear the right side of the window if repository_ajax.php returned an
error.
Also fixed an 'invalidsesskey' error string.
repository/filepicker.js
repository/repository_ajax.php