Export as Tripleloader format command was broken by menu bar refactoring
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1108 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
4522b98f32
commit
67daaf2140
@ -292,23 +292,14 @@ MenuBar.prototype._deactivateMenu = function() {
|
||||
this._mode = "inactive";
|
||||
};
|
||||
|
||||
MenuBar.prototype._doDenormalizeRecords = function() {
|
||||
Gridworks.postProcess(
|
||||
"denormalize",
|
||||
{},
|
||||
null,
|
||||
{ modelsChanged: true }
|
||||
);
|
||||
};
|
||||
|
||||
MenuBar.prototype._doExportTripleloader = function(format) {
|
||||
MenuBar.handlers.exportTripleloader = function(format) {
|
||||
if (!theProject.overlayModels.freebaseProtograph) {
|
||||
alert(
|
||||
"You haven't done any schema alignment yet,\nso there is no triple to export.\n\n" +
|
||||
"Use the Schemas > Edit Schema Alignment Skeleton...\ncommand to align your data with Freebase schemas first."
|
||||
);
|
||||
} else {
|
||||
this._doExportRows(format, "txt");
|
||||
MenuBar.handlers.exportRows(format, "txt");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user