Kaynağa Gözat

removed dsm()

Signed-off-by: bachy <git@g-u-i.net>
bachy 13 yıl önce
ebeveyn
işleme
b861d2da15
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. 0 4
      term_reference_tree.widget.inc

+ 0 - 4
term_reference_tree.widget.inc

@@ -587,9 +587,7 @@ function term_reference_tree_field_widget_form(&$form, &$form_state, $field, $in
  *   The validated element.
  */
 function _term_reference_tree_widget_validate(&$element, &$form_state) {
-	dsm($element, '_term_reference_tree_widget_validate | $element');
   $items = _term_reference_tree_flatten($element, $form_state);
-	dsm($items, '$items');
   $value = array();
 
   if ($element['#max_choices'] != 1) {
@@ -650,8 +648,6 @@ function _term_reference_tree_widget_validate(&$element, &$form_state) {
       }       
     }
   }
-  
-	dsm($value, '$value');
 
   if ($element['#required'] && empty($value)) {
     // The title is already check_plained so it's appropriate to use !.