dlegr250_material_design 0.5.77 → 0.5.78

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: 2520c0d3c009ac725b3e7d73a732c5c29ae41740
4
- data.tar.gz: e00383e564f28cf21ed87c8c06674d1d724e3dfc
3
+ metadata.gz: ef4da296c3748a36c8285da0066e7465aae0204c
4
+ data.tar.gz: 1f3db5f594c828347634e7bf5e640fd31cd0352e
5
5
  SHA512:
6
- metadata.gz: 7703fe00d83ba89dd63882ad57a767f22521bd297c51f26e2caddaafe5bf6840cf6342540193c68c9d96f406866ec45eeb6b5cbc4e48f5b092c04d80f52ccca4
7
- data.tar.gz: 50a40af5c0bc1e95f849acdff6f117aa5112d51cc2f5e54398403afba4d9dfed663a448226b40272332697bdb64822e2cb8929a26c8f19c27623ff6d86f81aeb
6
+ metadata.gz: 4ec5fbe6170c6da4d51b83233c692e6f79c4277c78ab1d4fe9ff1a05eb76e3c26420acdbfbc16b1b1f5d23a1c69f1e1e953cdbce05a5bacce5f0eaba5822c6fa
7
+ data.tar.gz: 006e8b6f19af5a1f14a156c7036eda9b6460b82f7a3f85d49d89c513e8d2a8e47705e5346db9ff04c115071023f6a4ccea5e2ae13d0e7759903f26ee0e754814
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.77"
2
+ VERSION = "0.5.78"
3
3
  end
@@ -66,9 +66,13 @@ class App.MD.Dialog
66
66
 
67
67
  @closeDialog: (element) ->
68
68
  $element = $(element)
69
+ hideButNotDestroy = ($element.data("permanent") == "true")
69
70
  $element.removeClass("visible")
70
71
  window.setTimeout =>
71
- $element.remove()
72
+ if hideButNotDestroy
73
+ # NOOP
74
+ else
75
+ $element.remove()
72
76
  , 500
73
77
  false
74
78
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.77
4
+ version: 0.5.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-12 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind