else if (newStatus!="" || confirm("Do you want to remove your status?")) {

                    ga_track('Users', 'Update Status', 'bLuesharkboy_05');

                    $('#user_status_edit').find('input, button').each(function () {

                        this.disabled = true;

                    });

                    $('#save_status').hide();

                    $('.status_spinner').show();

                    $.post(API2_PATH+"userstatus", { 'status': newStatus, 'fbupdate': fbupdate, 'twitterupdate': twitterupdate, 'tumblrupdate': tumblrupdate }, function (data) {

                        $('.status_spinner').hide();

                        $('#save_status').show();

                        $('#status_facebook').show();

                        $('#status_twitter').show();

                        $('#status_tumblr').show();

                        $('#user_status_edit').find('input, button').each(function () {

                            this.disabled = false;

                        });

                        $('#new_status').addClass("searchbox_default").val("Share your status");

                        if (data.status!="") {

                            var status = data.status;

                            status = htmlspecialchars(status);

                            status = linkifyMentions(status);

                            status = linkifyUrls(status);

                            $('#user_status').html(status);

                            $('#user_status_date').html('('+data.statuslastupdated+')');

                        }

                        else {

                            $('#user_status').html('');

                            $('#user_status_date').html('');

                        }

                        $.cookie("msgUpdate", null);

                        if (!data.twitterPosted) //was not able to post to twitter

                        {

                            $('#statusUpdateError').show("slow");

                            $('#statusUpdateError').html('We were unable to post to Twitter. <a/user_twlogin.php?nexturl="+window.location+'">Reconnect to Twitter</a>.');

                        }

                        else {

                            $('#statusUpdateError').hide("slow");

Warning: Don't Read ThisWhere stories live. Discover now