svn commit: r1626434 - /ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1626434 - /ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl

ashish-18
Author: ashish
Date: Sat Sep 20 12:57:30 2014
New Revision: 1626434

URL: http://svn.apache.org/r1626434
Log:
Applied patch from jira issue - OFBIZ-5720 - When click the "Go Back" button, the style of the page is mess.
Thanks Amardeep for the contribution.  

Modified:
    ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl

Modified: ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl?rev=1626434&r1=1626433&r2=1626434&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl (original)
+++ ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl Sat Sep 20 12:57:30 2014
@@ -89,22 +89,7 @@ var rawdata = [
   }
   
   function callDocument(id,type) {
-    //jQuerry Ajax Request
-    var dataSet = {};
-        URL = 'viewprofile';
-        dataSet = {"partyId" : id, "ajaxUpdateEvent" : "Y"};
-        
-    jQuery.ajax({
-        url: URL,
-        type: 'POST',
-        data: dataSet,
-        error: function(msg) {
-            alert("An error occurred loading content! : " + msg);
-        },
-        success: function(msg) {
-            jQuery('div.contentarea').html(msg);
-        }
-    });
+    window.location = "viewprofile?partyId=" + id;
   }
   
   function callEmplDocument(id,type) {