|
|
@ -420,12 +420,17 @@ var postSubmit = function(e) |
|
|
|
var $replyText = $this.closest(".post-area-new").find("textarea"); |
|
|
|
var $replyText = $this.closest(".post-area-new").find("textarea"); |
|
|
|
|
|
|
|
|
|
|
|
var $postOrig = $this.closest(".post-data"); |
|
|
|
var $postOrig = $this.closest(".post-data"); |
|
|
|
if( !$postOrig.length ) |
|
|
|
|
|
|
|
|
|
|
|
if (!$postOrig.length) { |
|
|
|
$postOrig = $this.closest(".modal-content").find(".post-data"); |
|
|
|
$postOrig = $this.closest(".modal-content").find(".post-data"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
newPostMsg($replyText.val(), $postOrig); |
|
|
|
newPostMsg($replyText.val(), $postOrig); |
|
|
|
|
|
|
|
|
|
|
|
$replyText.val(""); |
|
|
|
$replyText.val(""); |
|
|
|
|
|
|
|
var tweetForm = $this.parents("form"); |
|
|
|
|
|
|
|
var remainingCount = tweetForm.find(".post-area-remaining"); |
|
|
|
|
|
|
|
remainingCount.text(140); |
|
|
|
$replyText.attr("placeholder", "Your message was sent!"); |
|
|
|
$replyText.attr("placeholder", "Your message was sent!"); |
|
|
|
closeModal($this); |
|
|
|
closeModal($this); |
|
|
|
} |
|
|
|
} |
|
|
|