From a8faca00d5de64d11717cd3a9cb11392ff36a9e3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 26 Dec 2011 18:11:37 -0500 Subject: [PATCH] Remove one more use of goog.array --- web_frontend/path_control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_frontend/path_control.js b/web_frontend/path_control.js index e9d64ea..e7ea70e 100644 --- a/web_frontend/path_control.js +++ b/web_frontend/path_control.js @@ -158,7 +158,7 @@ armadillo.PathControl.prototype.fetchMenuContents_ = function(path, name, menu) if (path == '') { // If this is the root path element, make sure the root is accessible for // moving items. - goog.array.insertAt(data, '/', 0); + data.splice(0, 1, '/'); } menu.empty(); $.each(data, function (i, caption) { -- 2.22.5