Skip to content
Snippets Groups Projects
Select Git revision
  • 094e873ec01830acea8b43a2167bb4c1f8866e52
  • master default
  • renovate/junit-jupiter-engine.version
  • renovate/selenium.version
  • renovate/testcontainer.version
  • demo
  • v1_8_1
  • v2.18.1
  • v2.18.0
  • v2.17.2
  • v2.17.1
  • v2.17.0
  • v2.16.1
  • v2.16.0
  • v2.15.1
  • v2.15.0
  • v2.14.0
  • v2.13.0
  • v2.12.0
  • v2.11.0
  • v2.10.0
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.0
  • testPipeline2
  • v2.7.0
27 results

fetchModalContent.js

Blame
  • fetchModalContent.js 423 B
    function fetchAndShowModalContent(url, containerID, modalID, callback)
    {
        let modal = $(modalID).modal();
        if(modal.isOpen)
        {
            return;
        }
    
        $.ajax({
            type: 'GET',
            url: url,
            data: {},
            success: function(data)
            {
                $(containerID).html(data);
                $(modalID).modal();
                $(modalID).modal('open');
                callback();
            }
        });
    }