function ctools_stylizer_edit_style_cancel

Callback generated when the 'cancel' button is clicked.

We might have some temporary data lying around. We must remove it.

1 string reference to 'ctools_stylizer_edit_style_cancel'
ctools_stylizer_edit_style in includes/stylizer.inc
Add a new style of the specified type.

File

includes/stylizer.inc, line 875

Code

function ctools_stylizer_edit_style_cancel(&$form_state) {
    if (!empty($form_state['name'])) {
        ctools_stylizer_clear_settings_cache($form_state['name']);
    }
}