glib-web 4.36.5 → 4.36.6

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: e657850bcd9c7e8e881d35180ee54e239302bdf680511cb49f4cdde2b87c9379
4
- data.tar.gz: 106a0f38b451f40536fb00f76ad24a62105ae53dcd2f5047239b1ec7dd2b7d72
3
+ metadata.gz: 856adcd5c9413538d7389033e44745c2fe061c9be559be586344ae5c62a8de5e
4
+ data.tar.gz: 6dcb1317556c67ac2200b1d8f6802f6aebfb9b45545bccd6561aafe6b5639427
5
5
  SHA512:
6
- metadata.gz: 4d9fbae4fcc33c99c7081f0aaf458e41e26228df11f6709d537f2ec584140af02dd8c2b4252c4e0356cd9dffee152dd273457e12b96b6ce0898680f96998353e
7
- data.tar.gz: 84dfef2ffce458eacfe1d9e279d09b2c0fd818cd4ba0f26eb4db16ea6f1c87d6f8bdd5f7c6fa71c0cb3244d54cb3fc41acfb4f0c2a4a6420682149c49ed9dd66
6
+ metadata.gz: d0ee5623914d2409fd8a6cdf6a238e5b12724fb87edc88355aafe4c2fa9ccef9750f7672789a0d46d0484587ce872cb814ac3a9aba075eaac5cec92bcaf1c3af
7
+ data.tar.gz: 3efc17ea1b9eb7c930e014f776de41a760cd3867e95724096451c5d85511d5c8ba6b5a9883d61a19fdc32a3264ecde7a03a7d580331dc17e4b9a52f0d4305ed5
@@ -357,12 +357,16 @@ module Glib::Json::Libs
357
357
  view: 'button',
358
358
  text: 'Refresh',
359
359
  onClick: {
360
- action: 'dialogs/close',
361
- onClose: {
362
- action: 'windows/reload',
363
- onReload: {
364
- action: 'snackbars/alert',
365
- message: 'Refreshed. You can try again now.'
360
+ action: 'auth/saveCsrfToken',
361
+ token: form_authenticity_token,
362
+ onSave: {
363
+ action: 'dialogs/close',
364
+ onClose: {
365
+ action: 'windows/reload',
366
+ onReload: {
367
+ action: 'snackbars/alert',
368
+ message: 'Refreshed. You can try again now.'
369
+ }
366
370
  }
367
371
  }
368
372
  }
@@ -241,13 +241,13 @@ class Glib::JsonUi::ViewBuilder
241
241
  json.autofocus @autofocus
242
242
 
243
243
  json.childViews do
244
- if @method != :get
245
- json.child! do
246
- json.view 'fields/hidden'
247
- json.name 'authenticity_token'
248
- json.value page.context.form_authenticity_token
249
- end
250
- end
244
+ # if @method != :get
245
+ # json.child! do
246
+ # json.view 'fields/hidden'
247
+ # json.name 'authenticity_token'
248
+ # json.value page.context.form_authenticity_token
249
+ # end
250
+ # end
251
251
 
252
252
  if page.current_form
253
253
  raise 'Nested form is not allowed'
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: 4.36.5
4
+ version: 4.36.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''