augustyd/enchancment/issue#98 #155
| @@ -309,9 +309,11 @@ | ||||
|             <div>Unsaved data<i class="r-exclamation"></i></div> | ||||
|             <button>×</button> | ||||
|         </div> | ||||
|         <div class="body">You haven't saved your message! Any changes will be lost.<br>Do you want to continue?</div> | ||||
|         <div class="body">You haven't saved your message!<br> Do you want to save it?</div> | ||||
|         <div class="function"> | ||||
|             <button>Yes</button> | ||||
|  | ||||
|                 <button type = "button" onclick = "updateData()" value = "Display">Save</button> | ||||
|  | ||||
|             <button>No</button> | ||||
|         </div> | ||||
|     </div> | ||||
|   | ||||
| @@ -155,6 +155,7 @@ function callMethodByName(methodObject){ | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
| function updateData(){ | ||||
|     var updatedJson = generateJson(); | ||||
|     const dataSaved = function () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user