This commit is contained in:
mcuiza
2016-03-21 17:04:22 -04:00
parent d97e8a048f
commit 49cbd1dd8d
2 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ class Project extends Api
{ {
$objects = \G::json_decode($objects); $objects = \G::json_decode($objects);
$granularExporter = new GranularExporter($prj_uid); $granularExporter = new GranularExporter($prj_uid);
$outputFilename = $granularExporter->export($objects->objectList); $outputFilename = $granularExporter->export($objects);
$httpStream = new HttpStream(); $httpStream = new HttpStream();
$fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION); $fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION);

View File

@@ -1011,7 +1011,7 @@ function exportImportProcessObjects(typeAction)
stateful : true, stateful : true,
stateId : 'gridProcessObjects', stateId : 'gridProcessObjects',
enableColumnResize: true, enableColumnResize: true,
enableHdMenu: true, enableHdMenu: false,
frame:false, frame:false,
selModel : checkBoxSelMod, selModel : checkBoxSelMod,
showHeaderCheckbox: true, showHeaderCheckbox: true,
@@ -1024,7 +1024,7 @@ function exportImportProcessObjects(typeAction)
clicksToEdit: 1, clicksToEdit: 1,
cm: new Ext.grid.ColumnModel({ cm: new Ext.grid.ColumnModel({
defaults: { defaults: {
sortable: true sortable: false
}, },
columns: [ columns: [
checkBoxSelMod, checkBoxSelMod,
@@ -1044,7 +1044,7 @@ function exportImportProcessObjects(typeAction)
renderer: function(value) { renderer: function(value) {
var recordIndex = storeActionField.find('value', value); var recordIndex = storeActionField.find('value', value);
if (recordIndex === -1) { if (recordIndex === -1) {
return 'Unknown value: ' + value; return _('ID_UNKNOWN') + value;
} }
return storeActionField.getAt(recordIndex).get('text'); return storeActionField.getAt(recordIndex).get('text');
} }