You are here

function slickgrid_plugin_modal_form_error in Slickgrid 7

Same name and namespace in other branches
  1. 7.2 plugins/editors/ModalForm.inc \slickgrid_plugin_modal_form_error()
1 string reference to 'slickgrid_plugin_modal_form_error'
ModalForm.inc in plugins/editors/ModalForm.inc
Provides an inline cell editor

File

plugins/editors/ModalForm.inc, line 63
Provides an inline cell editor

Code

function slickgrid_plugin_modal_form_error($id, $error, $op) {

  // If we're not in the submission process print error & exit
  if ($op != 'submit') {
    print ctools_modal_render(t('Error'), $error);
    exit;
  }
}