Issue 524 - missing piece of __anonymous__ shortening - fix client side to match server
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2434 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
593c4123a9
commit
ca2afc1dc1
@ -118,6 +118,7 @@ Refine.JsonParserUI.prototype._initialize = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Refine.JsonParserUI.prototype._showPickRecordNodesUI = function() {
|
Refine.JsonParserUI.prototype._showPickRecordNodesUI = function() {
|
||||||
|
var ANONYMOUS_NODE_NAME = '_';
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this._dataContainer.unbind().empty().html(
|
this._dataContainer.unbind().empty().html(
|
||||||
@ -158,7 +159,7 @@ Refine.JsonParserUI.prototype._showPickRecordNodesUI = function() {
|
|||||||
$('<span>').addClass('punctuation').text('[').appendTo(container);
|
$('<span>').addClass('punctuation').text('[').appendTo(container);
|
||||||
|
|
||||||
var parentPath2 = [].concat(parentPath);
|
var parentPath2 = [].concat(parentPath);
|
||||||
parentPath2.push('__anonymous__');
|
parentPath2.push(ANONYMOUS_NODE_NAME);
|
||||||
|
|
||||||
var elementNode = null;
|
var elementNode = null;
|
||||||
for (var i = 0; i < a.length; i++) {
|
for (var i = 0; i < a.length; i++) {
|
||||||
@ -210,7 +211,7 @@ Refine.JsonParserUI.prototype._showPickRecordNodesUI = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
renderNode(this._config.dom, elmts.domContainer, [ '__anonymous__' ]);
|
renderNode(this._config.dom, elmts.domContainer, [ANONYMOUS_NODE_NAME]);
|
||||||
};
|
};
|
||||||
|
|
||||||
Refine.JsonParserUI.prototype._scheduleUpdatePreview = function() {
|
Refine.JsonParserUI.prototype._scheduleUpdatePreview = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user