Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/tree.tpl
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | |||||
the_tree.highLight(); | the_tree.highLight(); | ||||
</inp2:m_if> | </inp2:m_if> | ||||
</script> | </script> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
function checkCatalog($cat_id) { | function checkCatalog($cat_id, $module_prefix) { | ||||
var $ret = checkEditMode(false); | var $ret = checkEditMode(false); | ||||
var $right_frame = getFrame('main'); | var $right_frame = getFrame('main'); | ||||
if ($ret && $right_frame.$is_catalog) { | if ($ret && $right_frame.$is_catalog) { | ||||
$right_frame.$Catalog.go_to_cat($cat_id); | $right_frame.$Catalog.go_to_cat($cat_id, $module_prefix); | ||||
return 1; // this opens folder, but disables click | return 1; // this opens folder, but disables click | ||||
} | } | ||||
return $ret; | return $ret; | ||||
} | } | ||||
function setCatalogTab($prefix) { | function setCatalogTab($prefix) { | ||||
var $ret = checkEditMode(false); | var $ret = checkEditMode(false); | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |