Jam.py documentation


warning(mess, callback)

domain: client

language: javascript

class AbstractItem


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

The mess parameter specifies the text or html content that will appear in the body of the form.

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


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