mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-10-31 08:26:31 +08:00 
			
		
		
		
	(fix) Assign from task page is closed at opening item card [SCI-10063] (#6985)
This commit is contained in:
		
							parent
							
								
									53253b462e
								
							
						
					
					
						commit
						85cd24fa81
					
				
					 2 changed files with 3 additions and 7 deletions
				
			
		|  | @ -546,12 +546,8 @@ export default { | |||
|     }, | ||||
|     handleOpeningFromBootstrapModal() { | ||||
|       const layout = document.querySelector('.sci--layout'); | ||||
|       const openModals = layout.querySelectorAll('.modal'); | ||||
|       openModals.forEach((modal) => { | ||||
|         if ($(modal).hasClass('in') && !$(modal).hasClass('full-screen')) { | ||||
|           $(modal).modal('hide'); | ||||
|         } | ||||
|       }); | ||||
|       const openModals = layout.querySelectorAll('.modal.in:not(.modal-full-screen)'); | ||||
|       openModals.forEach((modal) => $(modal).modal('hide')); | ||||
|     }, | ||||
|     loadRepositoryRow(repositoryRowUrl, scrollTop = 0) { | ||||
|       this.dataLoading = true; | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| <div class="modal custom-z-index" id="myModuleRepositoryFullViewModal" data-keyboard="false" role="dialog" > | ||||
| <div class="modal modal-full-screen custom-z-index" id="myModuleRepositoryFullViewModal" data-keyboard="false" role="dialog" > | ||||
|   <div class="modal-dialog" role="document"> | ||||
|     <div class="modal-content"> | ||||
|       <div class="modal-header"> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue