From: Mark Wells Date: Sat, 24 Aug 2013 00:53:04 +0000 (-0700) Subject: fix window.onload under IE8, #24210 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5fa459e35a04b69cbdc6b5b938eabcbc1bac6c74 fix window.onload under IE8, #24210 --- diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html index bceb5e15f..d8141b5a7 100644 --- a/httemplate/edit/cust_main/top_misc.html +++ b/httemplate/edit/cust_main/top_misc.html @@ -66,9 +66,9 @@ } samechanged(f['same']); } - window.onload = function() { - agent_changed(document.getElementById('agentnum')); - } + <&| /elements/onload.js &> + agent_changed(document.getElementById('agentnum')) + diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index df5106cb0..a820bf2a6 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -246,8 +246,7 @@ Example: <%init>