summaryrefslogtreecommitdiff
path: root/help/app/assets
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-12-11 16:18:37 -0800
committerjessib <jessib@leap.se>2012-12-11 16:18:37 -0800
commit524bb47fa5782ca1e0aaf16a4a0836defadfbe48 (patch)
treefca69fdd24858e2b565d19ef1c55d7af25bd25c1 /help/app/assets
parent4259cad450fee703dc34ebe5322de994d06a5448 (diff)
Start to using x-editable to have title editable.
Diffstat (limited to 'help/app/assets')
-rw-r--r--help/app/assets/javascripts/tickets.js6
-rw-r--r--help/app/assets/javascripts/tickets.js.coffee6
2 files changed, 6 insertions, 6 deletions
diff --git a/help/app/assets/javascripts/tickets.js b/help/app/assets/javascripts/tickets.js
new file mode 100644
index 0000000..524df6f
--- /dev/null
+++ b/help/app/assets/javascripts/tickets.js
@@ -0,0 +1,6 @@
+$("#title").editable({
+ });
+
+$(document).ready(function () {
+ $('#title').editable();
+}); \ No newline at end of file
diff --git a/help/app/assets/javascripts/tickets.js.coffee b/help/app/assets/javascripts/tickets.js.coffee
deleted file mode 100644
index 039ce91..0000000
--- a/help/app/assets/javascripts/tickets.js.coffee
+++ /dev/null
@@ -1,6 +0,0 @@
-$("#title").editable({
- type: 'text',
- pk: 1,
- url: '/blah',
- title: 'TEXT here'
- }); \ No newline at end of file