From 0d7f213c7dbfb4c451026be3f4354513337259c5 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 10 Oct 2013 13:12:33 +0000 Subject: [PATCH] No longer need to change onchange here, client side does it --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 415c624ed7..ead09a4490 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -1077,12 +1077,6 @@ class etemplate_widget_nextmatch_customfilter extends etemplate_widget_transform } $form_name = self::form_name($cname, $this->id, $expand); - // Don't need simple onchanges, it's ajax - if($this->attrs['onchange'] == 1) - { - $this->setElementAttribute($form_name, 'onchange', false); - } - $this->setElementAttribute($form_name, 'options', trim($this->attrs['widget_options']) != '' ? $this->attrs['widget_options'] : ''); parent::beforeSendToClient($cname);