diff options
author | Halil İbrahim Kalkan <hikalkan@gmail.com> | 2014-03-04 20:02:55 +0200 |
---|---|---|
committer | Halil İbrahim Kalkan <hikalkan@gmail.com> | 2014-03-04 20:02:55 +0200 |
commit | b3c22919411beff6f7d6f35916f74908b05dfd33 (patch) | |
tree | 59c5377ccc32df6de5a39b5319602127e3b28e56 | |
parent | 65129c713f02275e3425bc79dfc3baedfab4526d (diff) | |
parent | 4c8ee7a9b091cf8eb98d1be24d2ad8f825f256cc (diff) | |
download | jtable-b3c22919411beff6f7d6f35916f74908b05dfd33.zip jtable-b3c22919411beff6f7d6f35916f74908b05dfd33.tar.gz jtable-b3c22919411beff6f7d6f35916f74908b05dfd33.tar.bz2 |
Merge pull request #975 from alukovenko/master
update + bugfix
-rw-r--r-- | dev/jquery.jtable.editing.js | 2 | ||||
-rw-r--r-- | lib/localization/jquery.jtable.ru.js | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/dev/jquery.jtable.editing.js b/dev/jquery.jtable.editing.js index ef8956f..e23d276 100644 --- a/dev/jquery.jtable.editing.js +++ b/dev/jquery.jtable.editing.js @@ -359,7 +359,7 @@ var $columns = $tableRow.find('td'); for (var i = 0; i < this._columnList.length; i++) { var displayItem = this._getDisplayTextForRecordField(record, this._columnList[i]); - if (displayItem == 0) displayItem = "0"; + if ((displayItem != "") && (displayItem == 0)) displayItem = "0"; $columns.eq(this._firstDataColumnOffset + i).html(displayItem || ''); } diff --git a/lib/localization/jquery.jtable.ru.js b/lib/localization/jquery.jtable.ru.js index c5e5405..734fb74 100644 --- a/lib/localization/jquery.jtable.ru.js +++ b/lib/localization/jquery.jtable.ru.js @@ -1,6 +1,7 @@ /*
jTable localization file for 'Russian' language.
Author: Stanislav Reznikov
+ Updated: Andrei Lukovenko
*/
(function ($) {
@@ -16,13 +17,15 @@ saving: 'Сохранение...',
cancel: 'Отмена',
deleteText: 'Удалить',
- deleting: 'Удаление...',
+ deleting: 'Удаление...',
error: 'Ошибка',
close: 'Закрыть',
cannotLoadOptionsFor: 'Невозможно загрузить варианты для поля {0}',
pagingInfo: 'Записи с {0} по {1} из {2}',
canNotDeletedRecords: 'Невозможно удалить записи: {0} из {1}!',
- deleteProggress: 'Удаление {0} из {1} записей...'
+ deleteProggress: 'Удаление {0} из {1} записей...',
+ pageSizeChangeLabel: 'Строк',
+ gotoPageLabel: 'На страницу'
});
})(jQuery); |