diff --git a/mod/imscp/module.js b/mod/imscp/module.js index 5b072f7cc61..f3ce6ea94d1 100644 --- a/mod/imscp/module.js +++ b/mod/imscp/module.js @@ -35,7 +35,7 @@ M.mod_imscp.init = function(Y) { var imscp_activate_item_by_index = function(index) { imscp_activate_item(Y.YUI2.widget.TreeView.getNode('imscp_tree', index)); - } + }; var imscp_activate_item = function(node) { if (!node) { @@ -45,20 +45,21 @@ M.mod_imscp.init = function(Y) { imscp_current_node.highlight(); var content = new Y.YUI2.util.Element('imscp_content'); + var obj; if (node.href) { try { // First try IE way - it can not set name attribute later // and also it has some restrictions on DOM access from object tag. - var obj = document.createElement('