Skip to content

deleteConfirm without alert #323

@tpfilipe

Description

@tpfilipe

Hello,

I am having issues with the deleteConfirm, I want to use the default delete button, but I don't want to use the alert of deleteConfirm. My idea is to open a delete dialog, when the button is clicked.

I try this:

deleteConfirm: function(args) {
     var string = "The user \"" + args.item.Name + "\" will be deleted. Are you sure?";
     $("#deleteDialog").dialog("open");
     $("#deleteDialogText").text(string);
}

But before he open the dialog, the app shows an alert with no text.
It's possible to delete this alert?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions