Skip to content

log-tail script still running if log shown in modal window and the window is closed #13

@ReddySk

Description

@ReddySk

Hello,

I am opening the log-tail page in modal window using bootstrap.

Problem is that even if the modal window is closed and even if I used to remove data from closed modal by following script which works for all my modal windows opened by link the script to seems stay active and still invoking ajax to the log file:

	<script type="text/javascript">
		$('.modal').on('hidden.bs.modal', function () {
			  $(this).removeData('bs.modal');
		}); 
	</script>

Please advise solution.

Thanks, Reddy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions