~ubuntu-branches/ubuntu/oneiric/cups/oneiric

« back to all changes in this revision

Viewing changes to templates/it/set-printer-options-trailer.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-04-09 16:19:16 UTC
  • mto: (25.1.2 lucid) (55.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100409161916-k0e6prz52ubf4vlg
Tags: upstream-1.4.3
ImportĀ upstreamĀ versionĀ 1.4.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
</DIV>
 
2
 
 
3
<SCRIPT TYPE="text/javascript"><!--
 
4
// Hide custom options parameters for browsers that understand Javascript
 
5
var paramtables = document.getElementsByName("paramtable");
 
6
for (var i = 0; i < paramtables.length; i++)
 
7
{
 
8
  var opt = paramtables[i].id.substr(0, paramtables[i].id.lastIndexOf("-"));
 
9
  var cb = document.getElementById("select-" + opt);
 
10
  if (cb.value != "Custom")
 
11
    paramtables[i].style.display = "none";
 
12
}
 
13
--></SCRIPT>
 
14
</FORM>
 
15
 
 
16
</DIV>