warning

AbstractItem.warning(mess, callback)
Domain:

client

Language:

javascript

Class:

AbstractItem()

Description

Use warning to create a modal form with the Ok button.

Parameters

Parameter

Type

Description

mess

string

Specifies the text or html content that will appear in the body of the form.

callback

function

If is specified it will be executed when user clicks the button and then the form will be closed.

Example

item.warning('No record selected.');