Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Destroy plugin #12

Open
mcunha98 opened this issue Jul 31, 2020 · 0 comments
Open

Destroy plugin #12

mcunha98 opened this issue Jul 31, 2020 · 0 comments

Comments

@mcunha98
Copy link

mcunha98 commented Jul 31, 2020

The plugin haven't destroy method, so I did a simple test (works for me), but will be good if the plugin has a method destroy() native

			if (response.status == 'ok')
			{
    			$('#id').val(response.data.id);
				$('#nome').val(response.data.nome);
				$('#ordem').val(response.data.ordem);
				$('#valor').val(response.data.valor);
				$('.dropzone').empty(); <-------------------------
				setupImageUpload([{id: 1, src: response.data.imagem.url}]);
				$('#modal-editor').modal('show');
			}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant