I am trying to extend the ctools model functions in my JavaScript file but not getting the exact way.
In ctool model.js contains modalContentClose = function(){close(); return false;};
which I want to override in my JavaScript file to add more functionality.
I have tried to use the following code, but it doesn't work.
function extends modalContentClose() {
// Some alert here.
}