summaryrefslogtreecommitdiffstats
path: root/dev/jquery.jtable.creation.js
diff options
context:
space:
mode:
authorHalil İbrahim Kalkan <hikalkan@gmail.com>2013-01-25 23:39:56 +0200
committerHalil İbrahim Kalkan <hikalkan@gmail.com>2013-01-25 23:39:56 +0200
commit844ee6c862cfc3221de4d22e9014a5eae357cabd (patch)
tree7f52f544b750dcd2ca8da428f54e97d9b05d52f0 /dev/jquery.jtable.creation.js
parentb296ed7f0384c9ae8259a4299974864a24f4ce15 (diff)
downloadjtable-844ee6c862cfc3221de4d22e9014a5eae357cabd.zip
jtable-844ee6c862cfc3221de4d22e9014a5eae357cabd.tar.gz
jtable-844ee6c862cfc3221de4d22e9014a5eae357cabd.tar.bz2
jTable v2.1.0v2.1.0
Added cascade dropdowns and creating dynamically option list support. [#63, #94] Added field options: dependsOn and optionsSorting. Polish localization (by Grzegorz Zbucki). [#97] Lithuanian localization (by Vygandas Šimkus). [#103] Portuguese - Brazilian localization (by Renato Bigliazzi). [#129] Fixed some issues.
Diffstat (limited to 'dev/jquery.jtable.creation.js')
-rw-r--r--dev/jquery.jtable.creation.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev/jquery.jtable.creation.js b/dev/jquery.jtable.creation.js
index 036ec22..bb187aa 100644
--- a/dev/jquery.jtable.creation.js
+++ b/dev/jquery.jtable.creation.js
@@ -229,9 +229,16 @@
$fieldContainer.append(self._createInputLabelForRecordField(fieldName));
//Create input element
- $fieldContainer.append(self._createInputForRecordField(fieldName));
+ $fieldContainer.append(
+ self._createInputForRecordField({
+ fieldName: fieldName,
+ formType: 'create',
+ form: $addRecordForm
+ }));
}
+ self._makeCascadeDropDowns($addRecordForm, undefined, 'create');
+
//Open the form
self._$addRecordDiv.append($addRecordForm).dialog('open');
self._trigger("formCreated", null, { form: $addRecordForm, formType: 'create' });