Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

Commit dec4993

Browse files
committed
Fixed term deletion.
1 parent 88218fc commit dec4993

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,10 @@ var _term = {
321321

322322
http_request('/btr/project/del_string', {
323323
type: 'POST',
324-
data: { sguid: sguid },
324+
data: {
325+
sguid: sguid,
326+
project: $config.vocabulary,
327+
},
325328
headers: { 'Authorization': 'Bearer ' + access_token }
326329
})
327330
.done(function (result) {

js/_app/term.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ var _term = {
7979

8080
http_request('/btr/project/del_string', {
8181
type: 'POST',
82-
data: { sguid: sguid },
82+
data: {
83+
sguid: sguid,
84+
project: $config.vocabulary,
85+
},
8386
headers: { 'Authorization': 'Bearer ' + access_token }
8487
})
8588
.done(function (result) {

0 commit comments

Comments
 (0)