File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
app/Livewire/Conducting/StudySelection
resources/views/livewire/conducting/study-selection Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -191,20 +191,20 @@ public function saveSelectedCriterias()
191191 $ this ->selected_criterias = $ this ->temp_selected_criterias ;
192192
193193 // Atualizar o status do paper
194- /*
194+
195195 $ criteria = Criteria::find (reset ($ addedCriterias ));
196196 if ($ criteria ) {
197197 $ this ->updatePaperStatus ($ criteria ->type );
198- }*/
199-
198+ }
199+ /*
200200 $criteria = null;
201201 if (!empty($addedCriterias)) {
202202 $criteria = Criteria::find(reset($addedCriterias));
203203 }
204204
205205 if ($criteria) {
206206 $this->updatePaperStatus($criteria->type);
207- }
207+ }*/
208208
209209 session ()->flash ('successMessage ' , 'Critérios salvos com sucesso ' );
210210 $ this ->dispatch ('show-success ' );
Original file line number Diff line number Diff line change 169169
170170@script
171171<script >
172- // --- Corrige o warning de aria-hidden / focus retido em modais ---
173- document .addEventListener (' hidden.bs.modal' , function (event ) {
174- document .activeElement ? .blur ();
175- });
176172
177173 document .addEventListener (' livewire:initialized' , () => {
178174
218214 console .log (` [${ type} ] ${ message} ` );
219215 }
220216 });
217+
218+ // --- Corrige o warning de aria-hidden / focus retido em modais ---
219+ document .addEventListener (' hidden.bs.modal' , function (event ) {
220+ document .activeElement ? .blur ();
221+ });
221222 });
222223< / script>
223224@endscript
You can’t perform that action at this time.
0 commit comments