From 1db3cc96ef2c46367fb6a3a72a28a74a4ce22032 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 15 Jan 2015 13:06:38 +0000 Subject: [PATCH] Refresh nm rows which got linked after egw_link_drop action --- etemplate/js/et2_extension_nextmatch_controller.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etemplate/js/et2_extension_nextmatch_controller.js b/etemplate/js/et2_extension_nextmatch_controller.js index 98075d90fa..b26f5c0f70 100644 --- a/etemplate/js/et2_extension_nextmatch_controller.js +++ b/etemplate/js/et2_extension_nextmatch_controller.js @@ -345,6 +345,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider, function(result) { if(result) { + for (var i=0; i < this._objectManager.selectedChildren.length; i++) + { + this._widget.refresh(this._objectManager.selectedChildren[i].id,'update'); + } + this._widget.egw().message('Linked'); // Update the target to show the liks this._widget.refresh(dropped.id,'update'); }