Skip to content

OCP.Toast mismatch to old OC.Notifications options #16367

@juliusknorr

Description

@juliusknorr

@juliushaertl There is a mismatch in the options received by OC.Notification and OCP.Toast: OC.Notification uses isHTML, while OCP.Toast uses showHtml. Either OCP.Toast.message is adjusted to use isHTML too, or OC.Notification.showTemporary is adjusted to set options.showHtml based on options.isHTML (and also the unit tests to reflect that OC.Toast.message expects showHtml instead of isHTML).

Originally posted by @danxuliu in #15124 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions