Fix Facebook authorization

This commit is contained in:
JonnyWong16 2016-10-21 22:42:23 -07:00 committed by JonnyWong16
commit ffcde69352
4 changed files with 122 additions and 32 deletions

View file

@ -2540,8 +2540,8 @@ $(document).ready(function() {
cache: false,
async: true,
complete: function (xhr, status) {
result = $.parseJSON(xhr.responseText);
msg = result.message;
var result = $.parseJSON(xhr.responseText);
var msg = result.message;
$('#add-notifier-modal').modal('hide');
if (result.result == 'success') {
showMsg('<i class="fa fa-check"></i> ' + msg, false, true, 5000);