Commit f066daed authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Dennis Schubert
Browse files

Disable share button in mobile publisher on submit

closes #6682, closes #6330
parent f9f5e990
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
* Ensure the rubyzip gem is properly loaded [#6659](https://github.com/diaspora/diaspora/pull/6659)
* Fix mobile registration layout after failed registration [#6677](https://github.com/diaspora/diaspora/pull/6677)
* Fix mirrored names when using a RTL language [#6680](https://github.com/diaspora/diaspora/pull/6680)
* Disable submitting a post multiple times in the mobile UI [#6682](https://github.com/diaspora/diaspora/pull/6682)

## Features
* Keyboard shortcuts now do work on profile pages as well [#6647](https://github.com/diaspora/diaspora/pull/6647/files)
+4 −1
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@
    #file-upload-publisher{:title => t('shared.publisher.upload_photos'), :class => 'btn'}
      = image_tag "mobile/camera.png", alt: t("shared.publisher.upload_photos").titleize
    #publisher_mobile
      = submit_tag t('shared.publisher.share'), :class => 'btn primary', :id => "submit_new_message"
      = submit_tag t("shared.publisher.share"),
        class: "btn primary",
        id: "submit_new_message",
        data: {"disable-with" => t("shared.publisher.posting")}

    #publisher_photo_upload