function clearTags()

in assets/www/scripts/photark_tagging.js [74:96]


function clearTags() {
	$('<div>').simpledialog2({
	    mode: 'button',
	    headerText: 'Delete Tags',
	    headerClose: true,
	    buttonPrompt: 'Are you sure you want to delete all the tags in this photo?',
	    buttons : {
	      'OK': {
	        click: function () { 
	        	deleteTags();
	        	$('#tagPicture').html('<img id="tagImage"/>');
	        	displayTagImage(getURI());
	        }
	      },
	      'Cancel': {
	        click: function () { 
	        	//Do nothing
	        },
	        icon: "delete",
	      }
	    }
	})
}