From 54919a21775d6d6ef6dda647c0bd35c18f12cd83 Mon Sep 17 00:00:00 2001 From: vitalets <noginsk@rambler.ru> Date: Tue, 27 Nov 2012 15:51:31 +0400 Subject: [PATCH] list comments tiny fix --- src/inputs/checklist.js | 2 +- src/inputs/list.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inputs/checklist.js b/src/inputs/checklist.js index ffdc7c9..1a5b149 100644 --- a/src/inputs/checklist.js +++ b/src/inputs/checklist.js @@ -143,7 +143,7 @@ $(function(){ limit: 4, /** Text shown when count of checked items is greater than <code>limit</code> parameter. - You can use <code>{checked}</code> and <code>count</code> placeholders. + You can use <code>{checked}</code> and <code>{count}</code> placeholders. @property limitText @type string diff --git a/src/inputs/list.js b/src/inputs/list.js index fc8412c..ad53e68 100644 --- a/src/inputs/list.js +++ b/src/inputs/list.js @@ -222,7 +222,7 @@ List - abstract class for inputs that have source option loaded from js array or List.defaults = $.extend({}, $.fn.editableform.types.abstract.defaults, { /** - Source data for dropdown list. If string - considered ajax url to load items. Otherwise should be an array. + Source data for list. If string - considered ajax url to load items. Otherwise should be an array. Array format is: <code>[{value: 1, text: "text"}, {...}]</code><br> For compability it also supports format <code>{value1: "text1", value2: "text2" ...}</code> but it does not guarantee elements order.