glib-web 4.36.0 → 4.36.2

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: 94b3768dec74f3a05c32ffd19612d151afce3829643e070f173899d02627e72f
4
- data.tar.gz: e7f8124643269e1634a979683210b93a7ca613fd1cf975a0ff20419a3f08f9f2
3
+ metadata.gz: 64fa536f763a59dac5250be221ff17106a5bac2fadea370d85e980d81fff6d25
4
+ data.tar.gz: 1ab54307c650b074396467ef5c94a9f09b840fbc2348f43cbf287797e263b36f
5
5
  SHA512:
6
- metadata.gz: 91cf7697395548ce7d8ee306269688c1166ed9e9d1ca0778a5d2d2dfd72d26dab277a3d22069a1d4ef31727511816854bd12de8ef984629069b4413f295095c5
7
- data.tar.gz: 4b655db49df2bfba84b0c524d02e41fdaadcacfb687418f7d3651c24712c9c7a55ed1b5bf4a1951b3107264a5db09b348b892293efaee7212c06d05b9b36408e
6
+ metadata.gz: 1ce0a37c6434ee753bf8a9a41f2937f4aa2b5d22e939147cf994b0446a6869e110dc497c4121a5fcff5b880d247a5a37db16d216762d390cc91d938164d709d5
7
+ data.tar.gz: 91db1d16e51c6596083805196e1fbfa7c3be45245a02b81a46600f5958e0b306867b3df300d5bc87abf0899d7d71da7a796d265d6b01d5fe2b5adefa6de1aa20
@@ -87,6 +87,13 @@ module Glib::Json::Libs
87
87
  return
88
88
  end
89
89
 
90
+ # Inside a dialog, it's easier to simply use HTTP redirect, as opposed to trying to
91
+ # get the dialog to perform manual redirection.
92
+ if glib_json_dialog_mode?
93
+ redirect_to url
94
+ return
95
+ end
96
+
90
97
  json_ui_redirect_to url, status: status
91
98
  end
92
99
  end
@@ -261,7 +268,7 @@ module Glib::Json::Libs
261
268
  if glib_json_dialog_mode?
262
269
  # Only do this in dialog mode because this seems to add to the rendering time
263
270
  # (i.e. longer flicker time), presumably due to the use of things like `nextTick()`.
264
- on_response = { action: 'dialogs/close', onClose: on_load }
271
+ on_response = { action: 'dialogs/close', onClose: on_response }
265
272
  end
266
273
 
267
274
  # Use onResponse because it is harder to guarantee that `onLoad` executes in Vuejs because it relies
@@ -162,6 +162,9 @@ module Glib
162
162
  # hash :actionCable
163
163
  # string :format
164
164
  action :onClick
165
+
166
+ # Whether the label is focusable using the Tab key.
167
+ bool :disableKeyboardFocus
165
168
  end
166
169
 
167
170
  class Image < View
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.0
4
+ version: 4.36.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''