svn commit: r1626435 - /ofbiz/branches/release13.07/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: r1626435 - /ofbiz/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl

ashish-18
Author: ashish
Date: Sat Sep 20 12:58:50 2014
New Revision: 1626435

URL: http://svn.apache.org/r1626435
Log:
Applied bug fix from trunk r1626434.
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/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl

Modified: ofbiz/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl?rev=1626435&r1=1626434&r2=1626435&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl (original)
+++ ofbiz/branches/release13.07/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl Sat Sep 20 12:58:50 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 occured loading content! : " + msg);
-        },
-        success: function(msg) {
-            jQuery('div.contentarea').html(msg);
-        }
-    });
+   window.location = "viewprofile?partyId=" + id;
   }
   
   function callEmplDocument(id,type) {