diff --git a/website/include/importerapp.js b/website/include/importerapp.js index 9f02cff..31cbdc2 100644 --- a/website/include/importerapp.js +++ b/website/include/importerapp.js @@ -187,9 +187,6 @@ ImporterApp.prototype.GenerateMenu = function () var group = menu.AddGroup (name, { id : id, openCloseButton : { - isOpen : false, - open : 'images/opened.png', - close : 'images/closed.png', title : 'Show/Hide ' + name } }); @@ -223,9 +220,6 @@ ImporterApp.prototype.GenerateMenu = function () { materialsGroup.AddSubItem (material.name, { openCloseButton : { - isOpen : false, - open : 'images/opened.png', - close : 'images/closed.png', onOpen : function (contentDiv, material) { contentDiv.empty (); var table = new InfoTable (contentDiv); @@ -245,9 +239,6 @@ ImporterApp.prototype.GenerateMenu = function () { meshesGroup.AddSubItem (mesh.name, { openCloseButton : { - isOpen : false, - open : 'images/opened.png', - close : 'images/closed.png', onOpen : function (contentDiv, mesh) { contentDiv.empty (); var table = new InfoTable (contentDiv); diff --git a/website/include/importermenu.js b/website/include/importermenu.js index e5b1c58..e04dbaf 100644 --- a/website/include/importermenu.js +++ b/website/include/importermenu.js @@ -52,14 +52,10 @@ ImporterMenuItem.prototype.Initialize = function (name) menuItemDiv.attr ('id', this.parameters.id); } if (this.parameters.openCloseButton !== undefined && this.parameters.openCloseButton !== null) { - this.contentDiv = $('