mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 03:37:04 +00:00
Update metadataEditor.jsx
This commit is contained in:
1 parent
0ea80bd758
commit
7239b89108
1 file changed
+1
-1
@@ -50,7 +50,7 @@ const MetadataEditor = createClass({
|
|||||||
if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return;
|
if(!confirm('Are you REALLY sure? You will lose editor access to this document.')) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
request.del(`/api/${this.props.metadata.editId}`)
|
request.delete(`/api/${this.props.metadata.editId}`)
|
||||||
.send()
|
.send()
|
||||||
.end(function(err, res){
|
.end(function(err, res){
|
||||||
window.location.href = '/';
|
window.location.href = '/';
|
||||||
|
|||||||
Reference in new issue
Block a user