[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12437] validate
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12437] validate |
Date: |
Wed, 10 Dec 2014 22:16:25 +0000 |
Revision: 12437
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12437
Author: sigurdne
Date: 2014-12-10 22:16:25 +0000 (Wed, 10 Dec 2014)
Log Message:
-----------
validate
Modified Paths:
--------------
trunk/property/inc/custom/default/ticket_NLSH_validate.js
Modified: trunk/property/inc/custom/default/ticket_NLSH_validate.js
===================================================================
--- trunk/property/inc/custom/default/ticket_NLSH_validate.js 2014-12-10
21:52:50 UTC (rev 12436)
+++ trunk/property/inc/custom/default/ticket_NLSH_validate.js 2014-12-10
22:16:25 UTC (rev 12437)
@@ -12,12 +12,14 @@
function show_feiltyper()
{
- switch($("#global_category_id").val())
+ var category_id = $("#global_category_id").val();
+
+ switch(category_id)
{
- case 154: //Brann & sikkerhet
- case 21: //Feilmelding
- case 74: // Garanti
- case 176: // title="Periodisk vedlikehold
+ case '154': //Brann & sikkerhet
+ case '21': //Feilmelding
+ case '74': // Garanti
+ case '176': // title="Periodisk vedlikehold
document.getElementById('label_feiltyper').style.display = 'block';
document.getElementById('id_feiltyper').style.display =
'block';
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12437] validate,
Sigurd Nes <=