resources/assets/js/google_search.js
/**
     * Delete input from the client and server
     */
Delete input from the client and server
Delete input from the client and server
function deleteInput() {
        var reportQueryId = $(this).parent().find("input").attr("data-query-id");
        if(reportQueryId != undefined && reportQueryId != '') {
            removeReportQueryById(reportQueryId);
        }
        $(this).parent().remove();
    }
function deleteInput ( ) { var reportQueryId = $ ( this ) . parent ( ) . find ( "input" ) . attr ( "data-query-id" ) ; if ( reportQueryId != undefined && reportQueryId != '' ) { removeReportQueryById ( reportQueryId ) ; } $ ( this ) . parent ( ) . remove ( ) ; }
Delete input from the client and server
Delete input from the client and server
// Check if there is report query id and remove it from the server