diff --git a/data/mysql/types/document/document.php b/data/mysql/types/document/document.php index 59df4bd..cd146be 100644 --- a/data/mysql/types/document/document.php +++ b/data/mysql/types/document/document.php @@ -37,6 +37,7 @@ var hide_result = !is_logged_in || ""; var model_options = { source: "remote", data: serverdata ? serverdata.data : null, + id: data_id, message: serverdata ? serverdata.message : null, error_server: serverdata ? serverdata.error : null, permission: serverdata ? serverdata.permission : null, diff --git a/data/mysql/types/event/event.php b/data/mysql/types/event/event.php index e42e37e..7a24b53 100644 --- a/data/mysql/types/event/event.php +++ b/data/mysql/types/event/event.php @@ -42,6 +42,7 @@ var is_me = serverdata.permission && parseInt(serverdata.permission.current_user_id) == parseInt(data_id); var model_options = { source: "remote", data: serverdata ? serverdata.data : null, + id: data_id, message: serverdata ? serverdata.message : null, error_server: serverdata ? serverdata.error : null, permission: serverdata ? serverdata.permission : null, diff --git a/data/mysql/types/group/group.php b/data/mysql/types/group/group.php index 3d16c88..96eebfe 100644 --- a/data/mysql/types/group/group.php +++ b/data/mysql/types/group/group.php @@ -37,6 +37,7 @@ var is_me = serverdata.permission && parseInt(serverdata.permission.current_user_id) == parseInt(data_id); var model_options = { source: "remote", data: serverdata ? serverdata.data : null, + id: data_id, message: serverdata ? serverdata.message : null, error_server: serverdata ? serverdata.error : null, permission: serverdata ? serverdata.permission : null, diff --git a/data/mysql/types/user/user.php b/data/mysql/types/user/user.php index c2dd1cd..47a8a47 100644 --- a/data/mysql/types/user/user.php +++ b/data/mysql/types/user/user.php @@ -37,6 +37,7 @@ var is_me = serverdata.permission && parseInt(serverdata.permission.current_user_id) == parseInt(data_id); var model_options = { source: "remote", data: serverdata ? serverdata.data : null, + id: data_id, message: serverdata ? serverdata.message : null, error_server: serverdata ? serverdata.error : null, permission: serverdata ? serverdata.permission : null,