You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/apps/change-tracking/change-tracking-web/src/main/java/com/liferay/change/tracking/web/internal/portlet/action/UpdateCTCommentMVCResourceCommand.java
Copy file name to clipboardExpand all lines: modules/apps/change-tracking/change-tracking-web/src/main/resources/META-INF/resources/publications/js/components/ChangeTrackingComments.js
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,9 @@ export default function ChangeTrackingComments({
99
99
ctEntryId,
100
100
});
101
101
102
-
fetch(portletURL)
102
+
fetch(portletURL,{
103
+
method: 'post',
104
+
})
103
105
.then((response)=>response.json())
104
106
.then((json)=>{
105
107
if(!json.comments){
@@ -135,7 +137,9 @@ export default function ChangeTrackingComments({
135
137
ctEntryId,
136
138
});
137
139
138
-
fetch(portletURL)
140
+
fetch(portletURL,{
141
+
method: 'post',
142
+
})
139
143
.then((response)=>response.json())
140
144
.then((json)=>{
141
145
if(!json.comments){
@@ -169,7 +173,9 @@ export default function ChangeTrackingComments({
169
173
value: inputValue,
170
174
});
171
175
172
-
fetch(portletURL.toString())
176
+
fetch(portletURL.toString(),{
177
+
method: 'post',
178
+
})
173
179
.then((response)=>response.json())
174
180
.then((json)=>{
175
181
setDeleting(0);
@@ -211,7 +217,9 @@ export default function ChangeTrackingComments({
0 commit comments