Revision 46343
Added by Alessia Bardi about 7 years ago
oai.js | ||
---|---|---|
13 | 13 |
) |
14 | 14 |
.error( |
15 | 15 |
function () { |
16 |
show_notification('error', 'Cannot load info about trasnformation rules');
|
|
16 |
show_notification('error', 'Cannot load info about transformation rules');
|
|
17 | 17 |
} |
18 | 18 |
); |
19 | 19 |
} |
... | ... | |
58 | 58 |
.success( |
59 | 59 |
function (data) { |
60 | 60 |
if (data) { |
61 |
var newSourceMdf = { |
|
62 |
"sourceFormatName": mdf.sourceFormatName, |
|
63 |
"sourceFormatLayout": mdf.sourceFormatLayout, |
|
64 |
"sourceFormatInterpretation": mdf.sourceFormatInterpretation |
|
65 |
}; |
|
61 |
var newSourceMdf = mdf.sourceMetadataReference; |
|
66 | 62 |
if (isNew) { |
67 | 63 |
$scope.exportFormats.push(mdf); |
68 | 64 |
if (!contains($scope.srcFormats, newSourceMdf)) $scope.srcFormats.push(newSourceMdf); |
... | ... | |
119 | 115 |
showSpinner(); |
120 | 116 |
$scope.show = 'source'; |
121 | 117 |
$scope.currentMdf = mdFormat |
122 |
$scope.currentPrefix = mdFormat.sourceFormatName
|
|
123 |
$scope.showStoreIndexes($scope.currentMdf.sourceFormatName, $scope.currentMdf.sourceFormatLayout, $scope.currentMdf.sourceFormatInterpretation);
|
|
118 |
$scope.currentPrefix = mdFormat.format
|
|
119 |
$scope.showStoreIndexes($scope.currentMdf.format, $scope.currentMdf.layout, $scope.currentMdf.interpretation);
|
|
124 | 120 |
hideSpinner(); |
125 | 121 |
} |
126 | 122 |
|
Also available in: Unified diff
Added index inspector