function cloneFromBuganizer()
    {
        // Check that we are on Buganizer
        if (DOMAIN_REGEX.test(window.location.host)) 
        {
            // TODO get data from the various fields
            var params = {};
            
            // Fire off bug creation using URL parameters
            var url = [URL_BUG_API_CREATE, '?', $.param(params)].join('');
            console.log(url);
            chrome.tabs.create({ url: url });
        } 
        else    // Error
        {
            console.log('ERROR: Not currently on Buganizer page!');
            alert('Not currently on a Buganizer issue page!');
        }
    }
// Clone a bug from a Buganizer page issue
Clone a bug from a Buganizer page issue
Clone a bug from a Buganizer page issue
function cloneFromBuganizer()
    {
        if (DOMAIN_REGEX.test(window.location.host)) 
        {
            var params = {};
            var url = [URL_BUG_API_CREATE, '?', $.param(params)].join('');
            console.log(url);
            chrome.tabs.create({ url: url });
        } 
        else    
        {
            console.log('ERROR: Not currently on Buganizer page!');
            alert('Not currently on a Buganizer issue page!');
        }
    }
function cloneFromBuganizer ( ) { if ( DOMAIN_REGEX . test ( window . location . host ) ) { var params = { } ; var url = [ URL_BUG_API_CREATE , '?' , $ . param ( params ) ] . join ( '' ) ; console . log ( url ) ; chrome . tabs . create ( { url : url } ) ; } else { console . log ( 'ERROR: Not currently on Buganizer page!' ) ; alert ( 'Not currently on a Buganizer issue page!' ) ; } }
Clone a bug from a Buganizer page issue
Clone a bug from a Buganizer page issue
// Check that we are on Buganizer // TODO get data from the various fields // Fire off bug creation using URL parameters // Error