lolita-translation 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,13 @@
|
|
1
1
|
$(function(){
|
2
2
|
$(".tab-language-switch li").live("click",function(){
|
3
|
-
$("
|
3
|
+
$(this).parent().children("li").removeClass("active");
|
4
|
+
//$(".tab-language-switch li").removeClass("active");
|
4
5
|
$(this).addClass("active");
|
5
|
-
var locale = $(this).data("locale")
|
6
|
-
|
7
|
-
|
8
|
-
$(container + " .language-wrap").hide(0)
|
9
|
-
$("#"+locale+"_for_"+tab_name).show(0)
|
10
|
-
resize_all_tinymce_editors()
|
11
|
-
})
|
12
|
-
})
|
6
|
+
var locale = $(this).data("locale"),
|
7
|
+
tab_name = $(this).data("tab"),
|
8
|
+
container = $(this).data("container") || ".tab-content";
|
9
|
+
$(container + " .language-wrap").hide(0);
|
10
|
+
$("#"+locale+"_for_"+tab_name).show(0);
|
11
|
+
resize_all_tinymce_editors();
|
12
|
+
});
|
13
|
+
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita-translation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
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: 2012-09-
|
12
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lolita
|
@@ -265,7 +265,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
265
|
version: '0'
|
266
266
|
segments:
|
267
267
|
- 0
|
268
|
-
hash:
|
268
|
+
hash: 503000546327852953
|
269
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
270
|
none: false
|
271
271
|
requirements:
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
version: '0'
|
275
275
|
segments:
|
276
276
|
- 0
|
277
|
-
hash:
|
277
|
+
hash: 503000546327852953
|
278
278
|
requirements: []
|
279
279
|
rubyforge_project:
|
280
280
|
rubygems_version: 1.8.24
|