radiant-drag_order-extension 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.7
|
@@ -49,7 +49,7 @@ var DragOrderIndex = Class.create({
|
|
49
49
|
|
50
50
|
// If there are children, it's not the home and it doesn't have children_visible
|
51
51
|
if (children.length > 0) {
|
52
|
-
if (!page.hasClassName('level_0') &&
|
52
|
+
if (!page.hasClassName('level_0') && page.hasClassName('no_children')) {
|
53
53
|
// Toggle Expand Class (we want an expander)
|
54
54
|
page.down('.expander').addClassName('visible');
|
55
55
|
page.down('.expander').removeClassName('hidden');
|
@@ -57,7 +57,6 @@ var DragOrderIndex = Class.create({
|
|
57
57
|
// Toggle Children Identifier Classes (there are children)
|
58
58
|
page.addClassName('children_visible');
|
59
59
|
page.removeClassName('no_children');
|
60
|
-
page.removeClassName('children_hidden');
|
61
60
|
}
|
62
61
|
}
|
63
62
|
// Else if there is not already a class of no children
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-drag_order-extension}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dirk Kelly"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-12-08}
|
13
13
|
s.description = %q{Radiant DragOrder allows you to reorder pages funly}
|
14
14
|
s.email = %q{dk@dirkkelly.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-drag_order-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dirk Kelly
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-08 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|