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);
$granularExporter = new GranularExporter($prj_uid);
$outputFilename = $granularExporter->export($objects->objectList);
$outputFilename = $granularExporter->export($objects);
$httpStream = new HttpStream();
$fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION);

View File

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