fix issued from codacy
This commit is contained in:
parent
a204809f3d
commit
d9995ba259
@ -44,7 +44,6 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
|
|
||||||
import org.json.JSONArray;
|
import org.json.JSONArray;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
|
||||||
import org.json.JSONWriter;
|
import org.json.JSONWriter;
|
||||||
|
|
||||||
import com.google.refine.ProjectManager;
|
import com.google.refine.ProjectManager;
|
||||||
|
@ -80,6 +80,7 @@ EditMetadataDialog.prototype._createDialog = function() {
|
|||||||
|
|
||||||
for (var k in flatMetaData) {
|
for (var k in flatMetaData) {
|
||||||
var tr = metadataTable.insertRow(metadataTable.rows.length);
|
var tr = metadataTable.insertRow(metadataTable.rows.length);
|
||||||
|
var v;
|
||||||
|
|
||||||
if (typeof flatMetaData[k] === 'string') {
|
if (typeof flatMetaData[k] === 'string') {
|
||||||
v = flatMetaData[k].replace(/\"/g, "");
|
v = flatMetaData[k].replace(/\"/g, "");
|
||||||
@ -89,8 +90,7 @@ EditMetadataDialog.prototype._createDialog = function() {
|
|||||||
|
|
||||||
this._metaDataUIs.push(new this._MetaDataUI(tr, k, v, flatMetaData.id));
|
this._metaDataUIs.push(new this._MetaDataUI(tr, k, v, flatMetaData.id));
|
||||||
}
|
}
|
||||||
|
};
|
||||||
}
|
|
||||||
|
|
||||||
EditMetadataDialog.prototype._dismiss = function() {
|
EditMetadataDialog.prototype._dismiss = function() {
|
||||||
DialogSystem.dismissUntil(this._level - 1);
|
DialogSystem.dismissUntil(this._level - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user