From 5d28701e59fbcfefa2750ed81d670d1478d0c298 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Wed, 30 Mar 2011 14:42:37 +0000 Subject: [PATCH] Facet removal button uniqueness. --- mkdru.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkdru.module b/mkdru.module index 9610cd0..b363c02 100644 --- a/mkdru.module +++ b/mkdru.module @@ -238,7 +238,7 @@ function mkdru_settings_form(&$form_state) { ); $form['settings']['facets'][$facet]['remove'] = array( '#type' => 'submit', - '#value' => t('Remove facet'), + '#value' => t('Remove ') . $facet . t(' facet'), '#mkdru facet' => $facet, '#submit' => array('mkdru_remove_facet_submit'), '#ahah' => array( @@ -279,7 +279,6 @@ function mkdru_add_facet_submit($form, &$form_state) { } function mkdru_remove_facet_submit($form, &$form_state) { - dpm($form_state); $delfacet = $form_state['clicked_button']['#mkdru facet']; if ($delfacet) unset($form_state['values']['settings']['facets'][$delfacet]); -- 1.7.10.4