texter 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/texter/texts.js +3 -3
- data/lib/texter/version.rb +1 -1
- metadata +3 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
$(function(){
|
2
|
-
$('
|
2
|
+
$('body').on('click', '.js-edit', function(){
|
3
3
|
EditText($(this));
|
4
4
|
});
|
5
5
|
|
@@ -20,13 +20,13 @@ $(function(){
|
|
20
20
|
}
|
21
21
|
});
|
22
22
|
|
23
|
-
popup.
|
23
|
+
popup.on('click', '.close', function(){
|
24
24
|
removePopup();
|
25
25
|
});
|
26
26
|
|
27
27
|
$.get(elem.data('url'), function(){
|
28
28
|
popup.fadeIn('fast', function(){
|
29
|
-
popup.find('textarea
|
29
|
+
popup.find('textarea:first').focus();
|
30
30
|
});
|
31
31
|
});
|
32
32
|
}
|
data/lib/texter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: texter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -235,3 +235,4 @@ signing_key:
|
|
235
235
|
specification_version: 3
|
236
236
|
summary: Rails-engine для редактирования блоков текста, с поддержкой I18n
|
237
237
|
test_files: []
|
238
|
+
has_rdoc:
|