Select correct publisher textarea
With previous css selector two textareas where returned, causes reset of the post text when selecting new aspects for the second time on the left nav. Related to #2102
This commit is contained in:
parent
6ce1acd83b
commit
e2e2bdf69c
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@
|
|||
};
|
||||
|
||||
this.performAjax = function() {
|
||||
var post = $("#publisher textarea").val(),
|
||||
var post = $("#publisher textarea#status_message_fake_text").val(),
|
||||
newURL = self.generateURL(),
|
||||
photos = {};
|
||||
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
}
|
||||
|
||||
self.jXHR = $.getScript(newURL, function(data) {
|
||||
var textarea = $("#publisher textarea"),
|
||||
var textarea = $("#publisher textarea#status_message_fake_text"),
|
||||
photozone = $("#photodropzone");
|
||||
|
||||
if( post !== "" ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue