Minor bug introduced recently when trying to be smart to clean up operation json

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1728 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-28 23:37:50 +00:00
parent c1ec3efdad
commit 258637c343

View File

@ -256,7 +256,7 @@ HistoryPanel.prototype._showApplyOperationsDialog = function() {
if (!json.startsWith("[")) {
json = "[" + json;
}
if (!json.endsWith("[")) {
if (!json.endsWith("]")) {
json = json + "]";
}