From e2acb5406d86c5bc6660ca96f55fc251ffbb829d Mon Sep 17 00:00:00 2001 From: Elena.Budnik <ebudnik@irap.omp.eu> Date: Thu, 15 Nov 2018 17:47:18 +0100 Subject: [PATCH] redmine #6397 : tt index --- js/app/views/CatalogUI.js | 2 +- js/app/views/TimeTableUI.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app/views/CatalogUI.js b/js/app/views/CatalogUI.js index 7d25618..a39421e 100644 --- a/js/app/views/CatalogUI.js +++ b/js/app/views/CatalogUI.js @@ -113,7 +113,7 @@ Ext.define('amdaUI.CatalogUI', { columns[0] = Ext.create('Ext.grid.column.RowNumberer', { width: 50, renderer: function(value, metaData, record){ - var msg = record.index; + var msg = record.index + 1; if (record.get('isNew') || record.get('isModified')) { msg += ' *'; metaData.style = 'font-weight: bold' diff --git a/js/app/views/TimeTableUI.js b/js/app/views/TimeTableUI.js index c048824..c3f49de 100755 --- a/js/app/views/TimeTableUI.js +++ b/js/app/views/TimeTableUI.js @@ -454,7 +454,7 @@ Ext.define('amdaUI.TimeTableUI', { xtype: 'rownumberer', width: 50, renderer: function(value, metaData, record, row, col, store, gridView){ - var msg = record.index; + var msg = record.index + 1; if (record.get('isNew') || record.get('isModified')) { msg += ' *'; -- libgit2 0.21.2