Added tile addition function to tile addition button
This commit is contained in:
		| @@ -146,7 +146,7 @@ | |||||||
|                     </div> --> |                     </div> --> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="max-width centered-content small-vertical-margin"> |                 <div class="max-width centered-content small-vertical-margin"> | ||||||
|                     <button class="modification-button btn-addtile"><i class="icon-plus"></i></button> |                     <button id="btn-newtile" class="modification-button btn-addtile"><i class="icon-plus"></i></button> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ const getUpdate = function(){ | |||||||
| const dataRefresh = function(){ | const dataRefresh = function(){ | ||||||
|     getData(); |     getData(); | ||||||
| } | } | ||||||
| $('#iconPlus').click(function(){callAddMessage()}); | $('#btn-newtile').click(function(){callAddMessage()}); | ||||||
| $('#btn-addRow').click(function(){addRow()}); | $('#btn-addRow').click(function(){addRow()}); | ||||||
| //TODO remove later save onclick init | //TODO remove later save onclick init | ||||||
| $('#btn-save').click(getUpdate); | $('#btn-save').click(getUpdate); | ||||||
|   | |||||||
| @@ -146,7 +146,7 @@ | |||||||
|                     </div> --> |                     </div> --> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="max-width centered-content small-vertical-margin"> |                 <div class="max-width centered-content small-vertical-margin"> | ||||||
|                     <button class="modification-button btn-addtile"><i class="icon-plus"></i></button> |                     <button id="btn-newtile" class="modification-button btn-addtile"><i class="icon-plus"></i></button> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ const getUpdate = function(){ | |||||||
| const dataRefresh = function(){ | const dataRefresh = function(){ | ||||||
|     getData(); |     getData(); | ||||||
| } | } | ||||||
| $('#iconPlus').click(function(){callAddMessage()}); | $('#btn-newtile').click(function(){callAddMessage()}); | ||||||
| $('#btn-addRow').click(function(){addRow()}); | $('#btn-addRow').click(function(){addRow()}); | ||||||
| //TODO remove later save onclick init | //TODO remove later save onclick init | ||||||
| $('#btn-save').click(getUpdate); | $('#btn-save').click(getUpdate); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user