summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-02-07 10:01:54 -0800
committerjessib <jessib@leap.se>2013-02-07 10:01:54 -0800
commit2d8b7b5ea52e73516315d365c51867005b893c0b (patch)
treeb3a7a736134eee73a60c7dd8055e2b5cdd9aff5f
parent40955e06c038ad3d84bfe88052c501fb7a6208d8 (diff)
Use more recent version of bootstrap-editable-rails, and a change to have the editing be inline rather than popup.
-rw-r--r--help/app/assets/javascripts/tickets.js1
-rw-r--r--ui_dependencies.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/help/app/assets/javascripts/tickets.js b/help/app/assets/javascripts/tickets.js
index 8f58e86..5376a6e 100644
--- a/help/app/assets/javascripts/tickets.js
+++ b/help/app/assets/javascripts/tickets.js
@@ -1,3 +1,4 @@
$(document).ready(function () {
+ $.fn.editable.defaults.mode = 'inline';
$('#title').editable();
}); \ No newline at end of file
diff --git a/ui_dependencies.rb b/ui_dependencies.rb
index c0779c0..2eb1e77 100644
--- a/ui_dependencies.rb
+++ b/ui_dependencies.rb
@@ -5,7 +5,7 @@ gem "simple_form"
gem 'client_side_validations'
gem 'client_side_validations-simple_form'
gem 'kaminari', "0.13.0" # for pagination. trying 0.13.0 as there seem to be issues with 0.14.0 when using couchrest
-gem 'bootstrap-editable-rails'
+gem 'bootstrap-editable-rails', "~>0.0.4"
group :assets do
gem "haml-rails", "~> 0.3.4"