From 5fa459e35a04b69cbdc6b5b938eabcbc1bac6c74 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 23 Aug 2013 17:53:04 -0700 Subject: [PATCH] fix window.onload under IE8, #24210 --- httemplate/edit/cust_main/top_misc.html | 6 +++--- httemplate/elements/location.html | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) 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> -- 2.11.0