can not set undefined from server side, only null, therefore allowing that as argument for id in egw_refresh

This commit is contained in:
Ralf Becker 2013-08-28 12:50:49 +00:00
parent b42b0a9e21
commit ee843a5f02

View File

@ -420,7 +420,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
refresh: function(_row_ids, _type) {
if (typeof _type == 'undefined') _type = 'edit';
if (typeof _row_ids == 'string' || typeof _row_ids == 'number') _row_ids = [_row_ids];
if (typeof _row_ids == "undefined")
if (typeof _row_ids == "undefined" || _row_ids === null)
{
this.applyFilters();
return;