]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/set-printer-options-trailer.tmpl
Merge changes from CUPS 1.4svn-r7994.
[thirdparty/cups.git] / templates / set-printer-options-trailer.tmpl
1 <SCRIPT TYPE="text/javascript"><!--
2 // Hide custom options parameters for browsers that understand Javascript
3 var paramtables = document.getElementsByName("paramtable");
4 for (var i = 0; i < paramtables.length; i++)
5 {
6 var opt = paramtables[i].id.substr(0, paramtables[i].id.lastIndexOf("-"));
7 var cb = document.getElementById("select-" + opt);
8 if (cb.value != "Custom")
9 paramtables[i].style.display = "none";
10 }
11 --></SCRIPT>
12 </FORM>
13
14 </DIV>