Do not remove rows that just have not changed.

Fixes linking two rows caused them to disappear.
This commit is contained in:
Nathan Gray 2015-04-21 14:34:12 +00:00
parent 9954438afc
commit b558a82cac

View File

@ -186,7 +186,7 @@ egw.extend("data", egw.MODULE_APP_LOCAL, function (_app, _wnd) {
// Tried to refresh a specific row and got nothing, so set it to null // Tried to refresh a specific row and got nothing, so set it to null
// (triggers update for listeners), then remove it // (triggers update for listeners), then remove it
if(_result.data.length == 0 && typeof _context == "object" && _context.refresh) if(_result.order.length == 0 && typeof _context == "object" && _context.refresh)
{ {
for(var i = 0; i < _context.refresh.length; i++) for(var i = 0; i < _context.refresh.length; i++)
{ {