GoalModelEditor/FrontEnd/public/js/dashboard.js
/**
 * Helper function to remove customized eventListeners so that there would be duplicates
 */
Helper function to remove customized eventListeners so that there would be duplicates
Helper function to remove customized eventListeners so that there would be duplicates
function removeCustomizedEventListeners() {
    $(".project_header").off("click");
    $(".new-model").off("click");
    $(".model").off("click");
    $(".rename-project").off("click");
    $(".delete-project").off("click");
    $(".more").off("click");
    $(".rename-model").off("click");
    $(".delete-model").off("click")
    $(".dropdown").off("click");
    $(".model").off("dblclick");
    $(".template").off("dbclick");
    $(".template").off("click");
    $(".rename-template").off("click");
    $(".delete-template").off("click");
}
function removeCustomizedEventListeners ( ) { $ ( ".project_header" ) . off ( "click" ) ; $ ( ".new-model" ) . off ( "click" ) ; $ ( ".model" ) . off ( "click" ) ; $ ( ".rename-project" ) . off ( "click" ) ; $ ( ".delete-project" ) . off ( "click" ) ; $ ( ".more" ) . off ( "click" ) ; $ ( ".rename-model" ) . off ( "click" ) ; $ ( ".delete-model" ) . off ( "click" ) $ ( ".dropdown" ) . off ( "click" ) ; $ ( ".model" ) . off ( "dblclick" ) ; $ ( ".template" ) . off ( "dbclick" ) ; $ ( ".template" ) . off ( "click" ) ; $ ( ".rename-template" ) . off ( "click" ) ; $ ( ".delete-template" ) . off ( "click" ) ; }
Helper function to remove customized eventListeners so that there would be duplicates
Helper function to remove customized eventListeners so that there would be duplicates