This commit is contained in:
Gregory Eremin
2013-07-10 16:46:37 +07:00
parent d7ff408863
commit 0a455e2b3e
17 changed files with 248 additions and 86 deletions
+15
View File
@@ -0,0 +1,15 @@
$ ->
$form = $('#pasteform')
$contents = $('#contents')
$_button = $('#submitbtn')
$button = $('#submitlnk')
# Hide generic button, show styled button
$_button.hide()
$button.show()
$contents.focus()
# Binding submit event to new button
$button.on 'click', ->
$form.submit()
false