Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-16 14:58:59 -05:00
parent 5b4bcd7cd9
commit ccb750679a

View File

@ -164,8 +164,8 @@ ReplyBox.prototype.show = function(info) {
self.clear(); self.clear();
setTimeout(function() { setTimeout(function() {
self.hide(); self.hide();
if(data.redirect_url) if(data.url)
window.location = data.redirect_url; window.location = data.url;
}, 1000); }, 1000);
} else { } else {
self.result("error: " + data.error, "red"); self.result("error: " + data.error, "red");