$(document).ready( function() { $("#PropertySelection").addClass("placeholder"); $("#PropertySelection option").each(function() { if ($(this).text() == '- -') { $(this).text('Title *'); } }); $("#prefixDropDown").addClass("placeholder"); $("#prefixDropDown").prepend(""); var copyright = new Date(); var currYear = copyright.getFullYear(); $("#copyDate").text('\u00A9 '+ currYear); }); //setting up the tapestry dojo config for ajax calls djConfig = { "baseRelativePath" : "/quote/asset.svc?path=%2Fdojo-0.4.3-custom-4.1.6%2F", "preventBackButtonFix" : true, "parseWidgets" : false, "locale" : "en" }; dojo.registerModulePath("tapestry", "/quote/asset.svc?path=%2Ftapestry-4.1.6%2F"); dojo.require("tapestry.namespace"); tapestry.requestEncoding = 'UTF-8'; var ajaxStatusAction; function attachAjaxStatus(a1) { ajaxStatusAction = a1; dojo.event.connectOnce(dojo.io, "queueBind", _processAjaxStatus); dojo.event.connectOnce(tapestry, "error", _processAjaxStatus); dojo.event.connectOnce(tapestry, "load", _processAjaxStatus); dojo.event.connectOnce(tapestry, "loadJson", _processAjaxStatus); } function _processAjaxStatus() { ajaxStatusAction.apply(this, [ tapestry.isServingRequests() ]); }