Disable share button in mobile publisher on submit
closes #6682, closes #6330
This commit is contained in:
parent
f9f5e990f9
commit
f066daedbb
2 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
* Ensure the rubyzip gem is properly loaded [#6659](https://github.com/diaspora/diaspora/pull/6659)
|
* 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 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)
|
* 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
|
## Features
|
||||||
* Keyboard shortcuts now do work on profile pages as well [#6647](https://github.com/diaspora/diaspora/pull/6647/files)
|
* Keyboard shortcuts now do work on profile pages as well [#6647](https://github.com/diaspora/diaspora/pull/6647/files)
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,9 @@
|
||||||
#file-upload-publisher{:title => t('shared.publisher.upload_photos'), :class => 'btn'}
|
#file-upload-publisher{:title => t('shared.publisher.upload_photos'), :class => 'btn'}
|
||||||
= image_tag "mobile/camera.png", alt: t("shared.publisher.upload_photos").titleize
|
= image_tag "mobile/camera.png", alt: t("shared.publisher.upload_photos").titleize
|
||||||
#publisher_mobile
|
#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
|
#publisher_photo_upload
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue