fullstack-cms 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/photos/destroy.js.coffee +2 -4
- data/fullstack-cms.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
@@ -1,7 +1,5 @@
|
|
1
|
-
<% if
|
2
|
-
$("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest(".
|
3
|
-
|
4
|
-
console.log("'<%=j request.path %>']")
|
1
|
+
<% if current_resource.destroyed? %>
|
2
|
+
$("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest(".thumbnail").fadeOut 'slow', -> $(this).remove()
|
5
3
|
$("#photos .counter").text('<%= @photo.photographable.photos.count %>').effect("highlight", {}, 1000)
|
6
4
|
<% else %>
|
7
5
|
$.notify.error('<%=j t("flash.error.delete") %>')
|
data/fullstack-cms.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fullstack-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -344,7 +344,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
344
344
|
version: '0'
|
345
345
|
segments:
|
346
346
|
- 0
|
347
|
-
hash:
|
347
|
+
hash: 2012089189051141459
|
348
348
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
349
349
|
none: false
|
350
350
|
requirements:
|