Fix type attribute check to work

This commit is contained in:
Nathan Gray 2014-01-13 08:58:16 +00:00
parent 4c105718a8
commit 8228b9512d

View File

@ -40,7 +40,7 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
{
// Check whether the result is valid
// This result is not for us, quietly return
if(_result && typeof _result.type != 'undefined' && _result.type != 'data') return;
if(_result && typeof _result.type != 'undefined') return;
// "result" has to be an object consting of "order" and "data"
if (!(_result && typeof _result.order !== "undefined"