You are here

function _textimage_text_effect_form_ajax in Textimage 7.3

AJAX callback to refresh the Textimage preview.

1 string reference to '_textimage_text_effect_form_ajax'
textimage_text_effect_form in effects/textimage_text.inc
Settings for 'textimage_text' image effect.

File

effects/textimage_text.inc, line 562
Implementation of the 'textimage_text' image effect.

Code

function _textimage_text_effect_form_ajax($form, $form_state) {
  return array(
    '#type' => 'ajax',
    '#commands' => array(
      ajax_command_html('#textimage-preview', _textimage_text_effect_preview_image($form_state['values']['data'])),
    ),
  );
}