effective_ckeditor 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afdaf67da4a0133ddc16b9ed90e3f6cb0902e085
|
4
|
+
data.tar.gz: 5681db278302c87c9f87cd2d5bf2184bff0c6073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f467c4af2104d3534d6cfd6b6744afe34fd4cd4383d89926f7d6073d16f828b8c42477fce4b5a2f4d17496f49bdff0e992a8ffe9f1c2da3d4990a3b73caca2f6
|
7
|
+
data.tar.gz: e90b81c80223c11ba18f2353ea10297de315707167cd119f227f1e47ccf89e48e297abb7ddde10e7d85c243fceb5eb4345b8e136ed7e06f401a20217334505c7
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Please see effective_regions (https://github.com/code-and-effect/effective_regio
|
|
12
12
|
|
13
13
|
## CKEditor
|
14
14
|
|
15
|
-
This gem packages only the javascript parts of CKEditor and
|
15
|
+
This gem packages only the javascript parts of CKEditor and some exclusive effective_* plugins
|
16
16
|
|
17
17
|
## License
|
18
18
|
|
@@ -196,7 +196,9 @@
|
|
196
196
|
# Rails seems to disregard new items set to the new Date.now() values anyhow
|
197
197
|
# Put all deleted items after the .actions div just to be tidy
|
198
198
|
markDestroyed: (item) ->
|
199
|
-
item.hide().addClass('destroyed')
|
199
|
+
item.hide().addClass('destroyed')
|
200
|
+
item.find('li').addClass('destroyed')
|
201
|
+
item.find("input[name$='[_destroy]']").val(1)
|
200
202
|
@menu.children('.actions').after(item.remove())
|
201
203
|
|
202
204
|
# This method is called with a Hash value
|
@@ -244,6 +246,9 @@
|
|
244
246
|
# This retVal has to account for multiple effective-menus on one page
|
245
247
|
retval[@menu.data('effective-menu-id')] = items
|
246
248
|
|
249
|
+
saveComplete: ->
|
250
|
+
@menu.find('.destroyed').remove()
|
251
|
+
|
247
252
|
assignLftRgt: (parent, lft) ->
|
248
253
|
rgt = lft + 1
|
249
254
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|