You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2014/09/20 14:57:30 UTC
svn commit: r1626434 -
/ofbiz/trunk/applications/humanres/webapp/humanres/humanres/category/CategoryTree.ftl
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) {