-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use an icon to set the email instead of a button with string
- Loading branch information
1 parent
728a41e
commit 54a3ce1
Showing
4 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -444,7 +444,7 @@ describe('OC.Share.ShareDialogView', function() { | |
dialog.render(); | ||
|
||
dialog.$el.find('.emailPrivateLinkForm .emailField').val('[email protected]'); | ||
dialog.$el.find('.emailPrivateLinkForm').trigger('submit'); | ||
dialog.$el.find('#emailButton').trigger('click'); | ||
|
||
expect(sendEmailPrivateLinkStub.callCount).toEqual(1); | ||
expect(dialog.$el.find('.emailPrivateLinkForm .emailField').val()).toEqual('Sending ...'); | ||
|
@@ -463,7 +463,7 @@ describe('OC.Share.ShareDialogView', function() { | |
dialog.render(); | ||
|
||
dialog.$el.find('.emailPrivateLinkForm .emailField').val('[email protected]'); | ||
dialog.$el.find('.emailPrivateLinkForm').trigger('submit'); | ||
dialog.$el.find('#emailButton').trigger('click'); | ||
|
||
expect(sendEmailPrivateLinkStub.callCount).toEqual(1); | ||
expect(dialog.$el.find('.emailPrivateLinkForm .emailField').val()).toEqual('Sending ...'); | ||
|