From fc3f082866e28f51b06baeb3f6cbe8947b2de586 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos Date: Mon, 26 Nov 2018 16:17:02 +0100 Subject: [PATCH] Menu Protein and crystals appear. It fixes issue #479 --- js/mx/menu/mxmainmenu.js | 9 ++------- js/mx/menu/mxmanagermenu.js | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/js/mx/menu/mxmainmenu.js b/js/mx/menu/mxmainmenu.js index 4ea23e1a9..860002a76 100644 --- a/js/mx/menu/mxmainmenu.js +++ b/js/mx/menu/mxmainmenu.js @@ -19,12 +19,7 @@ MXMainMenu.prototype.getMenuItems = function() { return [ this.getHomeItem(), this.getShipmentItem(), - /*{ - text : this._convertToHTMLWhiteSpan("Proteins and Crystals NEW"), - cls : 'ExiSAXSMenuToolBar', - disabled : false, - menu : this.getProteinCrystalsMenu() - }, + { text : this._convertToHTMLWhiteSpan("Proteins and Crystals NEW"), cls : 'ExiSAXSMenuToolBar', @@ -32,7 +27,7 @@ MXMainMenu.prototype.getMenuItems = function() { handler : function(){ location.hash = "#/protein/list"; } - },*/ + }, { text : this._convertToHTMLWhiteSpan("Prepare Experiment"), cls : 'ExiSAXSMenuToolBar', diff --git a/js/mx/menu/mxmanagermenu.js b/js/mx/menu/mxmanagermenu.js index f0a4d66eb..dddf9462e 100644 --- a/js/mx/menu/mxmanagermenu.js +++ b/js/mx/menu/mxmanagermenu.js @@ -32,14 +32,14 @@ MXManagerMenu.prototype.getMenuItems = function() { } }, - /*{ + { text : this._convertToHTMLWhiteSpan("Proteins and Crystals NEW"), cls : 'ExiSAXSMenuToolBar', disabled : false, handler : function(){ location.hash = "#/protein/list"; } - },*/ + }, { text : this._convertToHTMLWhiteSpan("Data Explorer"), cls : 'ExiSAXSMenuToolBar',