[-] BO : BugFix : #PSTEST-788 : Treeview is now handled with shop context in admin category controller

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13707 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-02-28 17:16:47 +00:00
parent 786e24514a
commit cb87b22f4f
3 changed files with 11 additions and 5 deletions
+4
View File
@@ -35,6 +35,9 @@ var id_category_root = 0;
function buildTreeView()
{
use_shop_context = false;
if (buildTreeView.arguments[0])
use_shop_context = true;
$("#categories-treeview").treeview({
url : 'ajax.php',
toggle: function () { callbackToggle($(this)); },
@@ -43,6 +46,7 @@ function buildTreeView()
async: true,
data: {
getChildrenCategories : true,
use_shop_context : use_shop_context,
selectedCat: selectedCat
}
}