server/core/js/tests/specs
Daniel Calviño Sánchez ed1452d7a0 Use "showTemporary" instead of explicitly hiding the notification
"OC.Notification.hide" expects the notification to be hidden to be
passed as an argument. As it was being used to show a temporary
notification the combination of "OC.Notification.show" and
"OC.Notification.hide" was replaced by a single call to
"OC.Notification.showTemporary".

The timeout could have been specified in the options of the call, but it
was left to the default value (7 seconds) for consistency with other
notifications.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-20 19:09:04 +01:00
..
files Merge pull request #6079 from nextcloud/fix-antivirus 2017-12-11 17:12:02 +01:00
systemtags Adjust the JS unit tests 2016-12-06 17:50:57 +01:00
appsSpec.js Fix javascript tests for sidebar animation 2016-07-30 16:30:05 +02:00
contactsmenuSpec.js There was an error loading → could not load 2018-01-20 09:15:50 +01:00
coreSpec.js Add CSRF token controller to retrieve the current CSRF token 2018-03-08 16:48:50 +01:00
jquery.avatarSpec.js Fix tests 2018-01-08 10:36:06 +01:00
jquery.contactsmenuSpec.js handle 404 separately 2017-04-26 09:30:21 +02:00
l10nSpec.js Harden t() with DOMPurify 2017-03-16 14:17:42 +01:00
mimeTypeSpec.js Reduce JSHint errors/warnings 2017-11-06 09:57:59 +01:00
oc-backbone-webdavSpec.js Fix system tags proppatch with booleans 2016-01-27 11:09:43 +01:00
setupchecksSpec.js Spelling: FreeType 2018-01-14 16:01:23 +01:00
sharedialoglinkshareview.js Reduce JSHint errors/warnings 2017-11-06 09:57:59 +01:00
sharedialogshareelistview.js Update tests for indeterminate state, fix slashes not being escaped 2018-02-16 11:42:41 +01:00
sharedialogviewSpec.js Use "showTemporary" instead of explicitly hiding the notification 2018-03-20 19:09:04 +01:00
shareitemmodelSpec.js Fix share capabilities JS tests 2018-02-27 12:29:25 +01:00
shareSpec.js Merge pull request #6670 from nextcloud/handle-encryption-state-in-web-interface 2017-12-06 16:19:17 +01:00