fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12765]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12765]
Date: Wed, 18 Feb 2015 23:14:38 +0000

Revision: 12765
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12765
Author:   nelson224
Date:     2015-02-18 23:14:37 +0000 (Wed, 18 Feb 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/js/portico/project.edit.js

Modified: branches/dev-syncromind/property/js/portico/project.edit.js
===================================================================
--- branches/dev-syncromind/property/js/portico/project.edit.js 2015-02-18 
23:14:11 UTC (rev 12764)
+++ branches/dev-syncromind/property/js/portico/project.edit.js 2015-02-18 
23:14:37 UTC (rev 12765)
@@ -65,4 +65,29 @@
                {
                        return "<a href="+ sUrl_project +"&id="+ oData[key] 
+">"+ oData[key] +"</a>";
                }
-       };
\ No newline at end of file
+       };
+
+$(document).ready(function(){
+
+       $("#global_category_id").change(function(){
+               var oArgs = {menuaction:'property.boworkorder.get_category', 
cat_id:$(this).val()};
+               var requestUrl = phpGWLink('index.php', oArgs, true);
+
+               var htmlString = "";
+
+               $.ajax({
+                       type: 'POST',
+                       dataType: 'json',
+                       url: requestUrl,
+                       success: function(data) {
+                               if( data != null)
+                               {
+                                       if(data.active !=1)
+                                       {
+                                               alert('Denne kan ikke velges');
+                                       }
+                               }
+                       }
+               });
+       });
+});
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]