mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Wait until multi creation finishes before updating the frontend.
This prevents displaying erroneously named multis.
This commit is contained in:
@@ -400,6 +400,7 @@ r.multi.ListingChooser = Backbone.View.extend({
|
||||
name = $.trim(name)
|
||||
if (name) {
|
||||
r.multi.mine.create({name: name}, {
|
||||
wait: true,
|
||||
success: function(multi) {
|
||||
window.location = multi.get('path')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user