From 25d3890595a38cdea65550e54a8eb57aada103cb Mon Sep 17 00:00:00 2001 From: kimth Date: Sat, 18 Aug 2012 09:51:27 -0400 Subject: [PATCH 1/2] Remove outdated hardcoded url from circuit simulator --- common/lib/xmodule/xmodule/js/src/capa/schematic.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/lib/xmodule/xmodule/js/src/capa/schematic.js b/common/lib/xmodule/xmodule/js/src/capa/schematic.js index 56c4bc8195..259a089aca 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/schematic.js +++ b/common/lib/xmodule/xmodule/js/src/capa/schematic.js @@ -172,11 +172,13 @@ schematic = (function() { this.tools = new Array(); this.toolbar = []; + /* DISABLE HELP BUTTON -- SJSU if (!this.diagram_only) { this.tools['help'] = this.add_tool(help_icon,'Help: display help page',this.help); this.enable_tool('help',true); this.toolbar.push(null); // spacer } + END DISABLE HELP BUTTON -- SJSU */ if (this.edits_allowed) { this.tools['grid'] = this.add_tool(grid_icon,'Grid: toggle grid display',this.toggle_grid); From 78b3ca050ecf653a1bf994f50f361b4b4869e9fa Mon Sep 17 00:00:00 2001 From: kimth Date: Sat, 18 Aug 2012 10:08:49 -0400 Subject: [PATCH 2/2] More info in comment --- common/lib/xmodule/xmodule/js/src/capa/schematic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/js/src/capa/schematic.js b/common/lib/xmodule/xmodule/js/src/capa/schematic.js index 259a089aca..92bc32441b 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/schematic.js +++ b/common/lib/xmodule/xmodule/js/src/capa/schematic.js @@ -172,7 +172,7 @@ schematic = (function() { this.tools = new Array(); this.toolbar = []; - /* DISABLE HELP BUTTON -- SJSU + /* DISABLE HELP BUTTON (target URL not consistent with multicourse hierarchy) -- SJSU if (!this.diagram_only) { this.tools['help'] = this.add_tool(help_icon,'Help: display help page',this.help); this.enable_tool('help',true);