nifty-dialog 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
data/lib/nifty/dialog/version.rb
CHANGED
@@ -145,7 +145,7 @@ window.Nifty.Dialog =
|
|
145
145
|
options = dialog.data('options')
|
146
146
|
if options.url?
|
147
147
|
if options.behavior? && behavior = this.behaviors[options.behavior]
|
148
|
-
behavior.beforeLoad.call(null,
|
148
|
+
behavior.beforeLoad.call(null, dialog, options) if behavior.beforeLoad?
|
149
149
|
$.ajax
|
150
150
|
url: options.url
|
151
151
|
success: (data)=> this.setContent(data, id)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nifty-dialog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A javascript library for working with dialogs
|
15
15
|
email:
|