Commit Graph

5 Commits

Author SHA1 Message Date
Julius Härtl 16865e59dd
Replace deprecated sinon reset() call with resetHistory()
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-30 13:52:58 +02:00
Lukas Reschke ff1150bb4d
Properly escape URL
Fixes https://github.com/owncloud/core/issues/23499
2016-04-18 17:43:20 +02:00
Morris Jobke e350a8bfd0 fixing the unit tests 2015-08-17 16:36:00 +02:00
Morris Jobke eac0131d5a fix updated URL schema in JS unit tests 2014-12-08 15:05:03 +01:00
Vincent Petry 0d9f24a0ef Add timeout to user and group deletion notification
Added timeout in DeleteHandler to auto-delete after a delay.

Fixed issue where OC.Notification.hide() was called twice in a row when
deleting multiple entries, causing the second notification to disappear.
Fixed issue where "undo" click event handler was registered multiple
times when calling setNotifications() twice.
Added JS unit tests for the DeleteHandler class.

Refix undo users, groups feature

Timeout is now cleared in cancel().

Fixed click handler name for "undo" to be able to work with multiple
DeleteHandler instances (in our case one for users and one for groups)
so that there is no conflict.
2014-09-15 14:04:44 +02:00