Author: jacopoc
Date: Tue Oct 28 07:53:44 2014
New Revision: 1634807
URL:
http://svn.apache.org/r1634807Log:
Formatting fixes
Modified:
ofbiz/branches/json-integration-refactoring/applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl
Modified: ofbiz/branches/json-integration-refactoring/applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/json-integration-refactoring/applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl?rev=1634807&r1=1634806&r2=1634807&view=diff==============================================================================
--- ofbiz/branches/json-integration-refactoring/applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl (original)
+++ ofbiz/branches/json-integration-refactoring/applications/product/webapp/catalog/store/ProductStoreGroupTree.ftl Tue Oct 28 07:53:44 2014
@@ -49,20 +49,21 @@ var rawdata = [
"plugins" : [ "themes", "json_data","ui" ,"cookies", "types"],
"json_data" : {
"data" : rawdata,
- "ajax" : { "url" : "<@ofbizUrl>getProductStoreGroupRollupHierarchy</@ofbizUrl>", "type" : "POST",
- "data" : function (n) {
- return {
- "parentGroupId" : n.attr ? n.attr("parentGroupId").replace("node_","") : 1,
- "onclickFunction" : "callDocument"
- };
- },
- success : function (data) {
- return data.storeGroupTree;
- }
+ "ajax" : { "url" : "<@ofbizUrl>getProductStoreGroupRollupHierarchy</@ofbizUrl>",
+ "type" : "POST",
+ "data" : function (n) {
+ return {
+ "parentGroupId" : n.attr ? n.attr("parentGroupId").replace("node_","") : 1,
+ "onclickFunction" : "callDocument"
+ };
+ },
+ success : function (data) {
+ return data.storeGroupTree;
+ }
}
},
"types" : {
- "valid_children" : [ "root" ]
+ "valid_children" : [ "root" ]
}
});
});