easy_admin_ui 0.7.4 → 0.7.5
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e980461cdc7c927962f8740dcd4b75b0db28ff5
|
|
4
|
+
data.tar.gz: 39672fac7dca49a625384454de42711e9c641133
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 931f98ebb01729c205bdf5ac06dd1d60d25bf90762b0f077d3c7ad88c7a6bf0bf003c71ddab02645b91565d735c39e2a278bda08a69eb42d1d53d34bee6ac7f2
|
|
7
|
+
data.tar.gz: 7c81fc7541c06ae53c0c6eb3ba2427d5d85f02f0b94cc6370f2c37103a26afc46779ed7bd165030ff9ffb04823052a994e7e7c60a885a57cdb563a47a9702e36
|
data/Gemfile.lock
CHANGED
|
@@ -11,7 +11,7 @@ $(document).ready(function() {
|
|
|
11
11
|
var a_link = $(e.target).parent('a')
|
|
12
12
|
var obj_id = a_link.attr('data-id')
|
|
13
13
|
|
|
14
|
-
a_link.after(confirm_html.replace(/OBJID/g, obj_id).replace(/DELETE_URL/, window.location + '/' + obj_id))
|
|
14
|
+
a_link.after(confirm_html.replace(/OBJID/g, obj_id).replace(/DELETE_URL/, window.location.protocol + '//' + window.location.hostname + window.location.pathname + '/' + obj_id))
|
|
15
15
|
|
|
16
16
|
a_link.siblings('#confirm_delete_' + obj_id).show()
|
|
17
17
|
});
|
|
@@ -87,7 +87,7 @@ module EasyAdminUi
|
|
|
87
87
|
|
|
88
88
|
def delete_link_with_confirmation(obj, delete_path=nil)
|
|
89
89
|
delete_path ||= eval("#{obj.class.to_s.underscore.singularize}_path(obj)")
|
|
90
|
-
link_to(delete_icon_image_tag, '', class: "admin_delete", 'data-id' => obj.
|
|
90
|
+
link_to(delete_icon_image_tag, '', class: "admin_delete", 'data-id' => obj.to_param)
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
def partial_exists?(filename)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_admin_ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Moen Wulffeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|