ajaxify_rails 0.5.2 → 0.5.3
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.
|
@@ -95,8 +95,6 @@ ajaxify = ->
|
|
|
95
95
|
|
|
96
96
|
load = (options, pop_state = false) ->
|
|
97
97
|
|
|
98
|
-
$(document).trigger('ajaxify:before_load', [options, pop_state])
|
|
99
|
-
|
|
100
98
|
unless load_page_from_hash
|
|
101
99
|
|
|
102
100
|
data = options.data || { ajaxified: true }
|
|
@@ -113,7 +111,7 @@ load = (options, pop_state = false) ->
|
|
|
113
111
|
if options.confirm
|
|
114
112
|
return false unless confirm options.confirm
|
|
115
113
|
|
|
116
|
-
$(document).trigger 'ajaxify:before_load', [options
|
|
114
|
+
$(document).trigger 'ajaxify:before_load', [options, pop_state]
|
|
117
115
|
|
|
118
116
|
$.ajax
|
|
119
117
|
url: options.url
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ajaxify_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -260,7 +260,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
260
260
|
version: '0'
|
|
261
261
|
segments:
|
|
262
262
|
- 0
|
|
263
|
-
hash:
|
|
263
|
+
hash: 2630119006197469094
|
|
264
264
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
265
|
none: false
|
|
266
266
|
requirements:
|
|
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
269
269
|
version: '0'
|
|
270
270
|
segments:
|
|
271
271
|
- 0
|
|
272
|
-
hash:
|
|
272
|
+
hash: 2630119006197469094
|
|
273
273
|
requirements: []
|
|
274
274
|
rubyforge_project:
|
|
275
275
|
rubygems_version: 1.8.25
|