Commit a80e0efb7de7a7c5a77f85a506e5d4a4323c72b5
1 parent
8a491c3a
poprawka do dialogu podpowiadacza
--HG-- branch : beta
Showing
1 changed file
with
7 additions
and
1 deletions
dictionary/static/js/lexeme-edit.js
... | ... | @@ -164,6 +164,8 @@ $.extend(edit, { |
164 | 164 | $('#prompter-dialog').dialog({ |
165 | 165 | autoOpen: false, |
166 | 166 | width: 'auto', |
167 | + height: 'auto', | |
168 | + resizable: false, | |
167 | 169 | modal: true, |
168 | 170 | buttons: [ |
169 | 171 | { |
... | ... | @@ -176,7 +178,11 @@ $.extend(edit, { |
176 | 178 | text: gettext("Wybierz"), |
177 | 179 | click: input_prompter_pattern |
178 | 180 | } |
179 | - ] | |
181 | + ], | |
182 | + // workaround do http://bugs.jqueryui.com/ticket/11776 | |
183 | + dragStop: function() { | |
184 | + jQuery(this).dialog({width: 'auto', height: 'auto'}); | |
185 | + } | |
180 | 186 | }); |
181 | 187 | $('#auto-derivatives-dialog').dialog({ |
182 | 188 | autoOpen: false, |
... | ... |