(title, text, onOkClick, onCancelClick, okLabel=gettext('Yes'), cancelLabel=gettext('No'), okIcon='default', modalId=null)
| 175 | } |
| 176 | |
| 177 | confirm(title, text, onOkClick, onCancelClick, okLabel=gettext('Yes'), cancelLabel=gettext('No'), okIcon='default', modalId=null) { |
| 178 | /* Use this if you want to use pgAdmin global notifier. |
| 179 | Or else, if you want to use modal inside iframe only then use ModalProvider eg- query tool */ |
| 180 | this.modal.confirm(title, text, onOkClick, onCancelClick, okLabel, cancelLabel, okIcon, modalId); |
| 181 | } |
| 182 | |
| 183 | confirmDelete(title, text, onDeleteClick, onCancelClick, okLabel = gettext('Delete'), cancelLabel = gettext('Cancel')){ |
| 184 | this.modal.confirmDelete(title, text, onDeleteClick, onCancelClick, okLabel, cancelLabel); |
no test coverage detected