https://src.bluestatic.org
/
armadillo.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e607d09
)
Remove one more use of goog.array
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 26 Dec 2011 23:11:37 +0000
(18:11 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 26 Dec 2011 23:11:37 +0000
(18:11 -0500)
web_frontend/path_control.js
patch
|
blob
|
history
diff --git
a/web_frontend/path_control.js
b/web_frontend/path_control.js
index e9d64eadfde6f06c14ae9923b08fb537a21c73b7..e7ea70e3af12d364cabc5b024a14966905e04037 100644
(file)
--- 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) {