card-mod-script 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/script/decko/filter.js.coffee +1 -1
- data/assets/script/decko/filter_links.js.coffee +2 -2
- data/assets/script/decko/name_editor.js.coffee +0 -18
- data/assets/script/decko/overlay.js.coffee +0 -3
- data/assets/script/decko/slot.js.coffee +1 -1
- data/assets/script/jquery-ui.min.js +13 -0
- data/assets/script/manifest.yml +1 -1
- data/file/mod_script_script_decko_machine_output/file.js +2 -27
- data/init/early/init_execjs.rb +3 -0
- data/set/all/head_javascript.rb +8 -3
- data/set/self/script_mods.rb +1 -1
- metadata +12 -11
- data/assets/script/jquery-ui.js +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e22e166f454a635898b7e2aa3fdea0a7c602e97b0281813e404d557f5f3e89db
|
4
|
+
data.tar.gz: 8f77fb6b3c1f54135d9902d56ce0c8cac38aad0cd4620d33f291a61cafa7b853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4431b86b7dc3050a93ffdfeccc0d44d0e9d15cba8537867653c6b623e3f8a3e790d533f0bbc0f1f59690f27117e6c96ccbad3140f57ec5cbf138262f9f6d1d69
|
7
|
+
data.tar.gz: b0c065f6ff1078d4b62dbeab2cef630216d4b3c2ea73531c56e3de725ff055b8c30c643a9d923abe6e4241c6fb680092166a73eda33be61afc35ef835c3271a7
|
@@ -59,7 +59,7 @@ decko.filter = (el) ->
|
|
59
59
|
field.find("input, select").first().focus()
|
60
60
|
|
61
61
|
@fieldValue = (field, value) ->
|
62
|
-
if typeof(value) == "object"
|
62
|
+
if typeof(value) == "object" && !Array.isArray(value)
|
63
63
|
@compoundFieldValue field, value
|
64
64
|
else
|
65
65
|
@simpleFieldValue field, value
|
@@ -61,8 +61,8 @@ $(window).ready ->
|
|
61
61
|
f = targetFilter this
|
62
62
|
if f.widget.length
|
63
63
|
f.restrict filterableData(this)
|
64
|
-
|
65
|
-
|
64
|
+
e.preventDefault()
|
65
|
+
e.stopPropagation()
|
66
66
|
|
67
67
|
$('body').on 'click', '._filter-link', (e) ->
|
68
68
|
f = filterFor this
|
@@ -1,17 +1,6 @@
|
|
1
1
|
checkNameAfterTyping = null
|
2
2
|
|
3
3
|
$(window).ready ->
|
4
|
-
$('body').on 'click', '._renamer-updater', ->
|
5
|
-
$(this).closest('form').find('#card_update_referers').val 'true'
|
6
|
-
|
7
|
-
$('body').on 'submit', '._rename-form', ->
|
8
|
-
f = $(this)
|
9
|
-
confirm = f.find '.alert'
|
10
|
-
if confirm.is ':hidden'
|
11
|
-
referenceConfirm f
|
12
|
-
confirm.show 'blind'
|
13
|
-
false
|
14
|
-
|
15
4
|
$('body').on 'keyup', '.name-editor input', (event) ->
|
16
5
|
clearTimeout(checkNameAfterTyping) if checkNameAfterTyping
|
17
6
|
input = $(this)
|
@@ -24,13 +13,6 @@ $(window).ready ->
|
|
24
13
|
checkNameAfterTyping = null
|
25
14
|
, 400
|
26
15
|
|
27
|
-
referenceConfirm = (form)->
|
28
|
-
confirm = form.find '._rename-reference-confirm'
|
29
|
-
return unless confirm.data('referer-count') > 0
|
30
|
-
confirm.show()
|
31
|
-
btn = form.find '._renamer-updater'
|
32
|
-
btn.show()
|
33
|
-
btn.focus()
|
34
16
|
|
35
17
|
checkName = (box) ->
|
36
18
|
name = box.val()
|
@@ -13,9 +13,6 @@ jQuery.fn.extend
|
|
13
13
|
$("._overlay-origin").removeClass("_overlay-origin")
|
14
14
|
@replaceOverlay(overlay)
|
15
15
|
else
|
16
|
-
#@find(".tinymce-textarea").each ->
|
17
|
-
# tinymce.remove("##{$(this).attr("id")}")
|
18
|
-
# #tinyMCE.execCommand('mceRemoveControl', false, $(this).attr("id"))
|
19
16
|
if @parent().hasClass("_overlay-container-placeholder")
|
20
17
|
@parent().addClass("overlay-container")
|
21
18
|
else
|