From d2383e50db3ed443789997dad0a2ea6042cd88c8 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 10 Jan 2013 19:13:18 -0500 Subject: [PATCH] make description field not have save/cancel buttons for best_in_place --- app/assets/javascripts/Jit/graphsettings.js | 2 -- app/views/topics/_topic.html.erb | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/javascripts/Jit/graphsettings.js b/app/assets/javascripts/Jit/graphsettings.js index e26f7691..e371300c 100644 --- a/app/assets/javascripts/Jit/graphsettings.js +++ b/app/assets/javascripts/Jit/graphsettings.js @@ -663,8 +663,6 @@ function onCreateLabelHandler(domElement, node) { data-object="topic" \ data-nil="$_desc_nil_$" \ data-attribute="desc" \ - data-ok-button="Save" \ - data-cancel-button="Discard" \ data-type="textarea">$_desc_$ \
\ \ diff --git a/app/views/topics/_topic.html.erb b/app/views/topics/_topic.html.erb index fb90666b..89edee50 100644 --- a/app/views/topics/_topic.html.erb +++ b/app/views/topics/_topic.html.erb @@ -33,8 +33,6 @@ data-object="topic" data-nil="Click to add description." data-attribute="desc" - data-ok-button="Save" - data-cancel-button="Discard" data-type="textarea"><%=topic.desc %>
@@ -55,4 +53,4 @@
-<% end %> \ No newline at end of file +<% end %>