less {}
This commit is contained in:
parent
30c76eb81d
commit
060dc71e4b
@ -1598,13 +1598,12 @@ DeleteLink =
|
|||||||
form[post.ID] = 'delete'
|
form[post.ID] = 'delete'
|
||||||
|
|
||||||
link = @
|
link = @
|
||||||
$.ajax $.id('delform').action.replace("/#{g.BOARD}/", "/#{post.board}/"), {
|
$.ajax $.id('delform').action.replace("/#{g.BOARD}/", "/#{post.board}/"),
|
||||||
onload: -> DeleteLink.load link, post, @response
|
onload: -> DeleteLink.load link, post, @response
|
||||||
onerror: -> DeleteLink.error link
|
onerror: -> DeleteLink.error link
|
||||||
}, {
|
,
|
||||||
cred: true
|
cred: true
|
||||||
form: $.formData form
|
form: $.formData form
|
||||||
}
|
|
||||||
load: (link, post, html) ->
|
load: (link, post, html) ->
|
||||||
tmpDoc = d.implementation.createHTMLDocument ''
|
tmpDoc = d.implementation.createHTMLDocument ''
|
||||||
tmpDoc.documentElement.innerHTML = html
|
tmpDoc.documentElement.innerHTML = html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user