From 3c38cd10c40c8ebbc2d39432d1424a7f1a07900c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 15 Nov 2013 15:28:38 +0000 Subject: [PATCH] Nextmatch update changes: - Implement "update" as alias for edit - Comment out handling of edit (handle as add) --- etemplate/js/et2_extension_nextmatch.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index b884ce7b6c..5e2d917d01 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -438,6 +438,8 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], var uid = app + "::" + _row_ids[i]; switch(_type) { + /* + case "update": case "edit": if(!egw().dataRefreshUID(uid)) { @@ -446,12 +448,14 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], break id_loop; } break; + */ case "delete": // Blank the row egw().dataStoreUID(uid,null); // Stop caring about this ID egw().dataUnregisterUID(uid); break; + case "edit": case "add": default: // Trigger refresh