diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-03-19 15:28:15 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-03-20 19:09:04 +0100 |
commit | ed1452d7a067d383371dcd165ad86e01f174840b (patch) | |
tree | 52a61cf01f2573944840fd12b02269a43ac7bf86 /core/js/jquery-ui-fixes.js | |
parent | fcef15af801b4e88f857b5621ad028abdeebec28 (diff) | |
download | nextcloud-server-ed1452d7a067d383371dcd165ad86e01f174840b.tar.gz nextcloud-server-ed1452d7a067d383371dcd165ad86e01f174840b.zip |
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>
Diffstat (limited to 'core/js/jquery-ui-fixes.js')
0 files changed, 0 insertions, 0 deletions