redmine_extensions 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 558bdc7eaa1dd64573bf7b7f32dd326e8d864782e8296e43f0f1e0a9efb01e1d
4
- data.tar.gz: aa1d31bcd1a8573d8e1aa5f16bb7fb82e526c818a4fba5073b0e6c3382b5944d
3
+ metadata.gz: 909c9033a7392cee4f398f50e65c9cdc7f26a7a36dcc61d61a7982ffa4b9a505
4
+ data.tar.gz: db95eed25ab642ebe871d516fd2c19bb33ea6e704a66abd9ea912ad05b661062
5
5
  SHA512:
6
- metadata.gz: 2214453d89368dbf5d27f078732606c235412b3dcab84ebf8b50faf290b8147bb0a7866dcbef97a163ab4418073642d421df5fd4564cb7737baf09cb528dc99a
7
- data.tar.gz: 0e758d13169c96d7cb4814cf8082b2d21f9023e6669c364de2dddfb040a161b4a9e2d58011e5fec8d59aaf28d197b28014dd8fbccbabc803b9cf61bb063ce10d
6
+ metadata.gz: 8d54ef2d48505cc4c8205db648c5d2a6f334bc978189fbc8988c2ce49e22ad35bdb697e84dfeeedfe646b2b5b54a2d4aa2a02f0ec15adafe1677e86e3142c74a
7
+ data.tar.gz: 1c1754d3351e2263e1cf0f04ff4a771c4c46d8797de660b87f0fab12eb2fe01616b9509ec5cddcef1450732f01c8454f8ca5b1066a5b108270421bda142a8f41
@@ -161,6 +161,19 @@ EasyGem.schedule.require(function () {
161
161
  }
162
162
  }
163
163
  },
164
+ open: function(event,ui) {
165
+ const modalElements = $('.ui-front.modal');
166
+
167
+ if (modalElements.length > 0) {
168
+ const defaultModalZIndex = 1500;
169
+ // Check highest z-index of all visible modal/s
170
+ const highestZIndex = Math.max.apply(null, modalElements.map(function() {
171
+ return parseInt($(this).css('z-index')) || defaultModalZIndex;
172
+ }).get());
173
+
174
+ that.element.autocomplete("widget").css("z-index", highestZIndex + 1);
175
+ }
176
+ },
164
177
  position: this.options.position,
165
178
  autoFocus: this.options.autofocus
166
179
  }, this.options.autocomplete_options)).data("ui-autocomplete")._renderItem = this.options.render_item;
@@ -1,5 +1,5 @@
1
1
  module RedmineExtensions
2
2
 
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Easy Software Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubygems_version: 3.3.19
120
+ rubygems_version: 3.4.6
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Redmine Extensions is set of useful features for Redmine. Main focus is on