$(document).ready( function() { /* Windows load */ $(window).on("load", function() { if (typeof requestHttpOverloadCommand === 'function') { requestHttpOverloadCommand(); } }); }); function requestHttpOverloadCommand(){ if($.getParameterByName("overload")) { var overloadCommand = $.getParameterByName("overload"); var overloadRegex = /^(.*)[\s+](true|false)$/; var commandMatch = overloadCommand.match(overloadRegex); if (commandMatch.length <= 1) { return; } var helpTopic = commandMatch[1]; var methodOrProperty = commandMatch[2]; var overloadCommandData = { "helptopic":helpTopic, "methodorproperty": methodOrProperty }; var services = { "messagechannel":"overload", "requesthandler": 'overload:handler', "webservice": null }; requestHelpService(overloadCommandData, services, function(data) { populateOverloadStrings(data); }); } } //=============================================================================== ////==================overload page templates====================================== window.JST = window.JST || {}; // Overload function message bar JST['messagebar'] = _.template( '
' ); // Modal Dialog with overload function list body JST['overloaddialog'] = _.template( '