mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
Nextmatch update changes:
- Implement "update" as alias for edit - Comment out handling of edit (handle as add)
This commit is contained in:
parent
82d3ac1d2e
commit
3c38cd10c4
@ -438,6 +438,8 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
|||||||
var uid = app + "::" + _row_ids[i];
|
var uid = app + "::" + _row_ids[i];
|
||||||
switch(_type)
|
switch(_type)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
case "update":
|
||||||
case "edit":
|
case "edit":
|
||||||
if(!egw().dataRefreshUID(uid))
|
if(!egw().dataRefreshUID(uid))
|
||||||
{
|
{
|
||||||
@ -446,12 +448,14 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
|||||||
break id_loop;
|
break id_loop;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
*/
|
||||||
case "delete":
|
case "delete":
|
||||||
// Blank the row
|
// Blank the row
|
||||||
egw().dataStoreUID(uid,null);
|
egw().dataStoreUID(uid,null);
|
||||||
// Stop caring about this ID
|
// Stop caring about this ID
|
||||||
egw().dataUnregisterUID(uid);
|
egw().dataUnregisterUID(uid);
|
||||||
break;
|
break;
|
||||||
|
case "edit":
|
||||||
case "add":
|
case "add":
|
||||||
default:
|
default:
|
||||||
// Trigger refresh
|
// Trigger refresh
|
||||||
|
Loading…
Reference in New Issue
Block a user