From 8228b9512d9db74b6a26a3d16409e0480ca85c9f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 13 Jan 2014 08:58:16 +0000 Subject: [PATCH] Fix type attribute check to work --- phpgwapi/js/jsapi/egw_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_data.js b/phpgwapi/js/jsapi/egw_data.js index 2dca87ee4f..2d06d99107 100644 --- a/phpgwapi/js/jsapi/egw_data.js +++ b/phpgwapi/js/jsapi/egw_data.js @@ -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"