stay 0.1.4.3 → 0.1.4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/stay/helper.rb +1 -1
- data/stay.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('stay', '0.1.4.3') do |p|
|
5
|
+
Echoe.new('stay', '0.1.4.3.1') do |p|
|
6
6
|
p.description = "Form ajax helper with tinymce support"
|
7
7
|
p.summary = "Helper for building ajax form, inspired by best_in_place, with some modifications, support tinymce as editor"
|
8
8
|
p.url = "http://github.com/tejanium/stay"
|
data/lib/stay/helper.rb
CHANGED
@@ -25,7 +25,7 @@ module Stay
|
|
25
25
|
def stay(record, field, opts = {})
|
26
26
|
raise ArgumentError, "Can't have Canceller without Submitter" if opts[:canceller] && opts[:submitter].nil?
|
27
27
|
opts[:type] ||= :text_field
|
28
|
-
html = "<span class='stay'
|
28
|
+
html = "<span class='stay' "
|
29
29
|
html << "data-activator='#{ opts[:activator] }' " if opts[:activator]
|
30
30
|
html << "data-submitter='#{ opts[:submitter] }' " if opts[:submitter]
|
31
31
|
html << "data-canceller='#{ opts[:canceller] }' " if opts[:canceller]
|
data/stay.gemspec
CHANGED