epi_js 0.0.12 → 0.0.14
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: 588c630011331892fdd108829ae254162f24c5c3
|
|
4
|
+
data.tar.gz: 0326045050fbc9be9931513909758821536e4b14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f9b2fc5b39f2d82b8080f60ab41916816f5b06a8307c88a71ac2cd6a84fdc6a370d4fdfe564c462ab5f427c3eed5451ec856e317a86b1e58e308d3f22d77c36
|
|
7
|
+
data.tar.gz: a590bfc2c8c4a1cc2bb72356c4bf3e92cf24d28ebd76de396078946c37e6a0375911d4b7b5aa7ad0c10ec482334934d98c3b2d7fd442ac5a8959851697ae98f0
|
data/lib/epi_js/version.rb
CHANGED
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
$('body').append($modal.html(data).modal())
|
|
6
6
|
$(document).trigger('ajax-modal-show')
|
|
7
7
|
|
|
8
|
-
$modal.on 'hidden', (e) ->
|
|
8
|
+
$modal.on 'hidden.bs.modal', (e) ->
|
|
9
9
|
if e.target is this
|
|
10
10
|
$(@).remove()
|
|
11
|
-
.on 'shown', (e) ->
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
$(document).trigger('ajax-modal-shown')
|
|
11
|
+
.on 'shown.bs.modal', (e) ->
|
|
12
|
+
setTimeout("$('#modalWindow [autofocus]').first().focus()", 0)
|
|
13
|
+
$(document).trigger('ajax-modal-shown')
|
|
15
14
|
) jQuery
|
|
16
15
|
|
|
17
16
|
$ ->
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@import 'bootstrap/variables'
|
|
2
|
-
@import 'bootstrap/mixins'
|
|
3
|
-
|
|
4
1
|
.flash-messages
|
|
5
2
|
position: fixed
|
|
6
3
|
margin-top: 60px
|
|
@@ -9,10 +6,4 @@
|
|
|
9
6
|
.alert
|
|
10
7
|
word-wrap: break-word
|
|
11
8
|
width: 200px
|
|
12
|
-
min-height: 30px
|
|
13
|
-
@include box-shadow(0 5px 10px rgba(0,0,0,.2))
|
|
14
|
-
@include buttonBackground(lighten($btnWarningBackground, 5%), lighten($btnWarningBackgroundHighlight, 5%))
|
|
15
|
-
&.alert-success
|
|
16
|
-
@include buttonBackground(lighten($btnSuccessBackground, 5%), lighten($btnSuccessBackgroundHighlight, 5%))
|
|
17
|
-
&.alert-error
|
|
18
|
-
@include buttonBackground(lighten($btnDangerBackground, 5%), lighten($btnDangerBackgroundHighlight, 5%))
|
|
9
|
+
min-height: 30px
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: epi_js
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shuo Chen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|