If categories get updated in a get_rows() call, clear the rowProvider internal cache so it uses the new values

This commit is contained in:
Nathan Gray 2014-03-05 17:21:13 +00:00
parent 1124c62200
commit 5fa9a9c0d0

View File

@ -327,6 +327,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
{ {
select.set_select_options(_response.rows.sel_options[id]); select.set_select_options(_response.rows.sel_options[id]);
} }
// Clear rowProvider internal cache so it uses new values
if(id == 'cat_id')
{
this.self._rowProvider.categories = null;
}
} }
} }
else else