Skip to content

Unlock sharee input field when sharing fails - #22452

Merged
DeepDiver1975 merged 2 commits into
masterfrom
fix_22441
Feb 17, 2016
Merged

DeepDiver1975 merged 2 commits into
masterfrom
fix_22441

Conversation

@rullzer

@rullzer rullzer commented Feb 16, 2016

Copy link
Copy Markdown
Contributor

Fixes #22441

When addShares fails (for whatever reason) we should unlock the sharee input field so the user does not have to reload the page.

@Dianafg76 please verify

CC: @PVince81 @nickvergessen @MorrisJobke

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @PVince81, @blizzz and @tomneedham to be potential reviewers

Comment thread core/js/sharedialogview.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate that, can't we use a non-popup?
Maybe the yellow notification, or even OC.msg?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure we can... I just copied what we used to use... which do you prefer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd vote for OC.Notification.showTemporary() to show it failed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Dianafg76

Copy link
Copy Markdown

👍

@nickvergessen

Copy link
Copy Markdown
Contributor

Btw, while on it. In case a remote share failed, because you made a typo in your URL, it would be nice to readd the old value in the dropdown, so the user doesn't have to type the hole thing again.

Fixes #22441

When addShares fails (for whatever reason) we should unlock the sharee
input field so the user does not have to reload the page.
@rullzer

rullzer commented Feb 17, 2016

Copy link
Copy Markdown
Contributor Author

@nickvergessen sure we can! Done..

@nickvergessen

Copy link
Copy Markdown
Contributor

👍

DeepDiver1975 added a commit that referenced this pull request Feb 17, 2016
Unlock sharee input field when sharing fails
@DeepDiver1975
DeepDiver1975 merged commit 92e5160 into master Feb 17, 2016
@DeepDiver1975
DeepDiver1975 deleted the fix_22441 branch February 17, 2016 09:59
@lock

lock Bot commented Aug 7, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share the folder with a group and then with a user included in the group , the icon continues to spin

6 participants