fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15201]


From: nelson . guerra
Subject: [Fmsystem-commits] [15201]
Date: Thu, 26 May 2016 01:15:55 +0000 (UTC)

Revision: 15201
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15201
Author:   nelson224
Date:     2016-05-26 01:15:55 +0000 (Thu, 26 May 2016)
Log Message:
-----------


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

Modified: branches/dev-syncromind-2/property/js/portico/entity.edit.js
===================================================================
--- branches/dev-syncromind-2/property/js/portico/entity.edit.js        
2016-05-26 01:14:49 UTC (rev 15200)
+++ branches/dev-syncromind-2/property/js/portico/entity.edit.js        
2016-05-26 01:15:55 UTC (rev 15201)
@@ -223,43 +223,12 @@
 
 $(document).ready(function ()
 {
-       if (requestUrlDoc)
+       $('#doc_type').change( function()
        {
-               $("#treeDiv1").jstree({
-                       "core": {
-                               "multiple": false,
-                               "themes": {"stripes": true},
-                               "data": {
-                                       "url": requestUrlDoc
-                               }
-                       },
-                       "plugins": ["themes", "html_data", "ui", "state"]
-               });
+               oTable7.dataTableSettings[7]['ajax']['data']['doc_type'] = 
$(this).val();
+               oTable7.fnDraw();                               
+       });
 
-               var count = 0;
-               $("#treeDiv1").bind("select_node.jstree", function (event, data)
-               {
-                       count += 1;
-                       var divd = 
data.instance.get_node(data.selected[0]).original['link'];
-                       if (count > 1)
-                       {
-                               window.location.href = divd;
-                       }
-               });
-
-               $('#collapse').on('click', function ()
-               {
-                       $(this).attr('href', 'javascript:;');
-                       $('#treeDiv1').jstree('close_all');
-               })
-
-               $('#expand').on('click', function ()
-               {
-                       $(this).attr('href', 'javascript:;');
-                       $('#treeDiv1').jstree('open_all');
-               });
-       }
-
        $("#workorder_cancel").on("submit", function (e)
        {
                if ($("#lean").val() == 0)




reply via email to

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