From 3ef04532990603888567426dc6275d81f37c7cce Mon Sep 17 00:00:00 2001 From: jcgregorio Date: Mon, 7 Jul 2014 06:56:44 -0700 Subject: [PATCH] Fix history handling for workspaces, issue with M36 BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/363003004 --- experimental/webtry/res/js/webtry.js | 10 +++++----- experimental/webtry/templates/workspace.html | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/experimental/webtry/res/js/webtry.js b/experimental/webtry/res/js/webtry.js index b24501e143..b673e09239 100644 --- a/experimental/webtry/res/js/webtry.js +++ b/experimental/webtry/res/js/webtry.js @@ -11,7 +11,7 @@ * namespace. If workspaceName is the empty string then we know we aren't * running on a workspace page. * - * If we are on a workspace page we also look for a 'history' + * If we are on a workspace page we also look for a 'history_' * variable in the global namespace which contains the list of tries * that are included in this workspace. That variable is used to * populate the history list. @@ -286,9 +286,9 @@ } // Add the images to the history if we are on a workspace page. - if (tryHistory && history) { - for (var i=0; i