glib-web 0.5.38 → 0.5.39

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
  SHA256:
3
- metadata.gz: 347507dbedf205e468be58cca441b8dac67e217be1895537c2f7b347d69f6412
4
- data.tar.gz: e611ba1dbf75e8affbaae6e29dc5c5f752c8286edc1a205c31a32ac4650b90ff
3
+ metadata.gz: 4b9205fa6e7332e2ce66c925e7af1638eb7dc92fb3c6cdc8c7183ba1c47821de
4
+ data.tar.gz: a2ed11cc66f88e51beb86cec96d27f8535db9f653fc1ce162b79020589ff613d
5
5
  SHA512:
6
- metadata.gz: f57cd676fcad8b49add5d460be9707726e42cfa9db6fd701d7d3250ebe9cae9a2930429a2f6b4be56ca64b0fd6d655bcc01c245c7aa4cfa16ed2419cdfa1194c
7
- data.tar.gz: 9d66d6fac6e1f00a2c3131e042302309ea0cb923576da3606a84a988b9d1feae91c2dc85c7114d6dc8b07994b1faa617ecbbbf2c804ddbe060ceb3e610f871c0
6
+ metadata.gz: c0d61a7b2330c8a55363a77b9c776ebb1edbd8245b2ad5446503ba2ab071a07397c0e2546fcb6c222ce3c332b06ace8166f468fa0bbab2aaa65f8e1cd14131f1
7
+ data.tar.gz: 85c93b6a5d6fdaa7ebf04de94b9927514243f7f4c94d039c613ae32bad684a158e8c6bf6ba8a59c0d2210df41bb50cba7f6ce2384920a8093d2feb2d7f2362b7
@@ -23,6 +23,7 @@ module Glib::Json::Ui
23
23
  options = {}
24
24
  options[:_render] = params[:_render]
25
25
  options[:_locale] = params[:_locale]
26
+ options[:_preview] = params[:_preview]
26
27
  options[:format] = :json if request.format == :json
27
28
  options
28
29
  end
@@ -10,7 +10,9 @@ module Glib
10
10
  crawl left_drawer['rows']
11
11
  end
12
12
 
13
- perform(json['onLoad'])
13
+ if (on_load = (args.fetch('onLoad', nil)))
14
+ perform(on_load)
15
+ end
14
16
  end
15
17
  end
16
18
  end
@@ -22,7 +22,9 @@ module Glib
22
22
  end
23
23
  end
24
24
 
25
- perform(json['onLoad'])
25
+ if (on_load = (args.fetch('onLoad', nil)))
26
+ perform(on_load)
27
+ end
26
28
  end
27
29
  end
28
30
  end
@@ -30,8 +30,8 @@ module Glib
30
30
  end
31
31
 
32
32
  if args.is_a?(Hash) && args['rel'] != 'nofollow'
33
- if (onClick = (args.fetch('onClick', nil)))
34
- process_action(http, onClick)
33
+ if (on_click = (args.fetch('onClick', nil)))
34
+ process_action(http, on_click)
35
35
  end
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.38
4
+ version: 0.5.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''