===
authorAndrew Magliozzi <andrew.magliozzi@gmail.com>
Tue, 15 Oct 2013 18:39:46 +0000 (14:39 -0400)
committerAndrew Magliozzi <andrew.magliozzi@gmail.com>
Tue, 15 Oct 2013 18:39:46 +0000 (14:39 -0400)
karmaworld/templates/partial/filepicker.html

index ffffdb8b0045e720ad2506b560e025788a7f9e52..434ed44da4dbaf881410f37d5895d5b79858520d 100644 (file)
                 'csrfmiddlewaretoken': csrf,
                 'mimetype': mimetype
               }, function(data){
-                if (data == 'success') {
+                if (data === 'success') {
                   // For multiple uploads, we may end up clearing and re-
                   //  writing this multiple times, but show the same list
                   //  each time.