https://bugzilla.wikimedia.org/show_bug.cgi?id=51338
Web browser: ---
Bug ID: 51338
Summary: mw.notify notifications can't be removed/hidden
programmatically
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Use case:
* The user opens VisualEditor
* The user types something that looks like wikitext
* VE notices and displays an mw.notify bubble with autoHide:false
* The user leaves VE by clicking on the Read tab
* The editor is torn down and we go back to view mode, but the bubble persists
I would like to be able to remove this bubble when the editor is torn down, but
mw.notification doesn't expose an API for this. There is a .close() method on
Notification, but there's no way to get the Notification object created by
mw.notify().
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l