* Tracker CRM bugfixes

- fix tracker CRM view switching to all tickets when changing single/multi queue
- Fix wrong selectbox options in tracker nm when there are no rows for the entry
- Fix tracker CRM view stops working after filtering
This commit is contained in:
Nathan Gray 2015-09-29 17:06:53 +00:00
parent 5ac8ef6193
commit 90e5e91271
2 changed files with 2 additions and 12 deletions

View File

@ -51,7 +51,7 @@ app.classes.addressbook = AppJS.extend(
// r49769 let's CRM view run under currentapp == "addressbook", which causes
// app.addressbook.et2_ready called before app.infolog.et2_ready and therefore
// app.addressbook.et2 would point to infolog template, if we not stop here
if (name.match(/^infolog\./)) return;
if (name.match(/^infolog|tracker\./)) return;
// call parent
this._super.apply(this, arguments);

View File

@ -659,17 +659,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
{
foreach($row as &$options)
{
foreach($options as &$label)
{
if(!is_array($label))
{
$label = html_entity_decode($label, ENT_NOQUOTES,'utf-8');
}
else if ($label['label'])
{
$label['label'] = html_entity_decode($label['label'], ENT_NOQUOTES,'utf-8');
}
}
etemplate_widget_menupopup::fix_encoded_options($options, true);
}
}
$rows[$n] = $row;