mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	submit attribute form on enter
This commit is contained in:
		
							parent
							
								
									32db96f388
								
							
						
					
					
						commit
						93b4cf6a05
					
				| @ -353,10 +353,11 @@ | |||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div id="attributes-dialog" title="Note attributes" style="display: none; padding: 20px;"> |     <div id="attributes-dialog" title="Note attributes" style="display: none; padding: 20px;"> | ||||||
|  |       <form data-bind="submit: save"> | ||||||
|       <div style="display: flex; justify-content: space-between; padding: 15px; padding-top: 0;"> |       <div style="display: flex; justify-content: space-between; padding: 15px; padding-top: 0;"> | ||||||
|         <button class="btn-default" data-bind="click: addNewRow">Add new attribute</button> |         <button class="btn-default" type="button" data-bind="click: addNewRow">Add new attribute</button> | ||||||
| 
 | 
 | ||||||
|         <button class="btn-primary" data-bind="click: save">Save</button> |         <button class="btn-primary" type="submit">Save</button> | ||||||
|       </div> |       </div> | ||||||
| 
 | 
 | ||||||
|       <div style="height: 97%; overflow: auto"> |       <div style="height: 97%; overflow: auto"> | ||||||
| @ -381,6 +382,7 @@ | |||||||
|           </tbody> |           </tbody> | ||||||
|         </table> |         </table> | ||||||
|       </div> |       </div> | ||||||
|  |       </form> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div id="tooltip" style="display: none;"></div> |     <div id="tooltip" style="display: none;"></div> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner