Author: nathangray
New Revision: 52501
URL: http://svn.stylite.de/viewvc/egroupware?rev=52501&view=rev
Log:
Do not remove rows that just have not changed.
Fixes linking two rows caused them to disappear.
Modified:
trunk/phpgwapi/js/jsapi/egw_data.js
Modified: trunk/phpgwapi/js/jsapi/egw_data.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/js/jsapi/egw_data.js?rev=52501&r1=52500&r2=52501&view=diff
— trunk/phpgwapi/js/jsapi/egw_data.js (original)
+++ trunk/phpgwapi/js/jsapi/egw_data.js Tue Apr 14 21:56:15 2015
@@ -186,7 +186,7 @@
// Tried to refresh a specific row and got nothing, so set it to null
// (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++) {
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs