root/branches/release-29/tmpl/cms/cc_return.tmpl @ 1309

Revision 1309, 0.6 kB (checked in by ddavis, 23 months ago)

standarize js comment tag escape. BugzID:58265

  • Property svn:keywords set to Author Date Id Revision
Line 
1<script type="text/javascript">
2/* <![CDATA[ */
3function getByID (d, n) {
4    if (d.getElementById)
5        return d.getElementById(n);
6    else if (d.all)
7        return d.all[n];
8}
9var d = window.opener.document;
10d.cfg_form.cc_license.value = '<mt:var name="license_code" escape="html">';
11var e = getByID(d, 'cc-license-name');
12if (e)
13    e.innerHTML = '<mt:var name="license_name" escape="html">';
14if (e = getByID(d, 'no-license'))
15    e.style.display = 'none';
16if (e = getByID(d, 'has-license'))
17    e.style.display = 'block';
18window.close();
19/* ]]> */
20</script>
Note: See TracBrowser for help on using the browser.