Unverified Commit 77296354 authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff
Browse files

Replace publisher_textarea_wrapper with publisher-textarea-wrapper

parent caeaf23d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ app.views.Publisher = Backbone.View.extend({

    // init shortcut references to the various elements
    this.inputEl = this.$("#status_message_text");
    this.wrapperEl = this.$("#publisher_textarea_wrapper");
    this.wrapperEl = this.$("#publisher-textarea-wrapper");
    this.submitEl = this.$("input[type=submit], button#submit");
    this.photozoneEl = this.$("#photodropzone");

@@ -87,7 +87,7 @@ app.views.Publisher = Backbone.View.extend({
  },

  initSubviews: function() {
    this.mention = new app.views.PublisherMention({ el: this.$("#publisher_textarea_wrapper") });
    this.mention = new app.views.PublisherMention({ el: this.$("#publisher-textarea-wrapper") });
    if(this.prefillMention) {
      this.mention.prefillMention([this.prefillMention]);
    }
+3 −3
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ function createUploader(){
        $("#fileInfo-publisher").text(fileName + " " + progress + "%");
      },
      onSubmit: function() {
        $("#publisher_textarea_wrapper").addClass("with_attachments");
        $("#publisher-textarea-wrapper").addClass("with_attachments");
        $("#photodropzone").append(
          "<li class='publisher_photo loading' style='position:relative;'>" +
          "<img alt='Ajax-loader2' src='" + ImagePaths.get("ajax-loader2.gif") + "' />" +
@@ -50,7 +50,7 @@ function createUploader(){
            url = responseJSON.data.photo.unprocessed_image.url,
            currentPlaceholder = $("li.loading").first();

        $("#publisher_textarea_wrapper").addClass("with_attachments");
        $("#publisher-textarea-wrapper").addClass("with_attachments");
        $("#new_status_message").append("<input type='hidden' value='" + id + "' name='photos[]' />");

        // replace image placeholders
@@ -76,7 +76,7 @@ function createUploader(){
              photo.fadeOut(400, function() {
                photo.remove();
                if ($(".publisher_photo").length === 0) {
                  $("#publisher_textarea_wrapper").removeClass("with_attachments");
                  $("#publisher-textarea-wrapper").removeClass("with_attachments");
                }
              });
            }
+1 −1
Original line number Diff line number Diff line
/* Raw CSS */
body {
  #publisher_textarea_wrapper > #button_container > span.markdownIndications > a {
  #publisher-textarea-wrapper > #button_container > span.markdownIndications > a {
    color: fade-out($link-color, 0.4);
  }

+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
body {
  .publisher {
    form {
      #publisher_textarea_wrapper { background-color: $gray; }
      #publisher-textarea-wrapper { background-color: $gray; }
      .btn.btn-link.question_mark:hover .entypo-cog { color: $gray-light; }
    }
    .publisher-buttonbar .btn.btn-link:hover i { color: $gray-light; }
+1 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@ select#aspect_ids_ {
  .entypo-camera { margin-right: 0; }
}

#publisher_textarea_wrapper {
#publisher-textarea-wrapper {
  border-radius: 2px;
  margin: 12px 0px;
  background: $framed-background;
Loading